refactor(system): flatten
This commit is contained in:
parent
24dee2cadc
commit
f47154c234
29 changed files with 32 additions and 268 deletions
|
|
@ -1,18 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
host = config.systemModules.host;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (host.type != "phone") {
|
||||
programs = {
|
||||
_1password.enable = true;
|
||||
_1password-gui = {
|
||||
enable = true;
|
||||
polkitPolicyOwners = [ "${host.admin.name}" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
./1password
|
||||
./kernel
|
||||
./pam
|
||||
./polkit
|
||||
./sudo
|
||||
./kernel.nix
|
||||
./pam.nix
|
||||
./polkit.nix
|
||||
./sudo.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue