args
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
defaultSopsFile = ./secrets.yaml;
|
defaultSopsFile = ./secrets.yaml;
|
||||||
defaultSopsFormat = "yaml";
|
defaultSopsFormat = "yaml";
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
nix = {
|
nix = {
|
||||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
settings = {
|
settings = {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
port = 2222;
|
port = 2222;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
services.mpris-proxy.enable = true;
|
services.mpris-proxy.enable = true;
|
||||||
|
|
||||||
programs.ssh.enable = true;
|
programs.ssh.enable = true;
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
inputs.home-manager-config
|
inputs.home-manager-config
|
||||||
];
|
];
|
||||||
users = (builtins.mapAttrs
|
users = (builtins.mapAttrs
|
||||||
(name: user: (lib.mkMerge [
|
(name: user: (lib.mkMerge ([
|
||||||
{
|
{
|
||||||
homeconfig = {
|
homeconfig = {
|
||||||
host = config.sysconfig.host;
|
host = config.sysconfig.host;
|
||||||
@@ -92,12 +92,12 @@
|
|||||||
graphical = config.sysconfig.graphical;
|
graphical = config.sysconfig.graphical;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
] ++ (if inputs ? ${user.username} then [ (inputs.${user.username} { config = config.home-manager.users.${user.username}; }) ] else [])
|
] ++ (if inputs ? ${user.username} then [ (inputs.${user.username} { config = config.home-manager.users.${user.username}; inherit inputs; }) ] else [])
|
||||||
++ user.home-manager.extraModules))
|
++ user.home-manager.extraModules)))
|
||||||
(builtins.removeAttrs
|
(builtins.removeAttrs
|
||||||
config.sysconfig.users
|
config.sysconfig.users
|
||||||
(builtins.partition
|
(builtins.partition
|
||||||
(name: (config.sysconfig.users.${name}.home-manager.enable && !config.sysconfig.users.${name}.home-manager.standalone))
|
(x: (config.sysconfig.users.${x}.home-manager.enable && !config.sysconfig.users.${x}.home-manager.standalone))
|
||||||
(builtins.attrNames config.sysconfig.users)
|
(builtins.attrNames config.sysconfig.users)
|
||||||
).wrong
|
).wrong
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user