mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
feat: server test
This commit is contained in:
parent
04d561de0c
commit
712b89b7ab
2 changed files with 4 additions and 20 deletions
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
nix.settings = {
|
|
||||||
substituters = [
|
|
||||||
"https://cosmic.cachix.org/"
|
|
||||||
];
|
|
||||||
trusted-public-keys = [
|
|
||||||
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
|
|
||||||
services = {
|
|
||||||
desktopManager.cosmic.enable = true;
|
|
||||||
displayManager.cosmic-greeter.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -15,13 +15,13 @@ let
|
||||||
devices
|
devices
|
||||||
;
|
;
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
desktop = devices.desktop.name;
|
user0devices = devices.desktop.name || devices.server.name;
|
||||||
fallaryn = devices.fallaryn.name;
|
user2devices = devices.fallaryn.name;
|
||||||
|
|
||||||
userLogic =
|
userLogic =
|
||||||
if hostname == desktop then
|
if hostname == user0devices then
|
||||||
user0
|
user0
|
||||||
else if hostname == fallaryn then
|
else if hostname == user2devices then
|
||||||
user2
|
user2
|
||||||
else
|
else
|
||||||
"";
|
"";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue