update
This commit is contained in:
@@ -5,9 +5,11 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
|
||||||
|
./sops.nix
|
||||||
] ++ (builtins.attrValues outputs.nixosModules);
|
] ++ (builtins.attrValues outputs.nixosModules);
|
||||||
|
|
||||||
home-manager.useGlobalpkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit inputs outputs;
|
inherit inputs outputs;
|
||||||
};
|
};
|
||||||
@@ -19,7 +21,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.enableRedistrubutableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
networking.domain = "wessels.local";
|
networking.domain = "wessels.local";
|
||||||
|
|
||||||
security.pam.loginLimits = [
|
security.pam.loginLimits = [
|
||||||
|
|||||||
15
hosts/common/global/sops.nix
Normal file
15
hosts/common/global/sops.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
outputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
isEd25519 = k: k.type == "ed25519";
|
||||||
|
getKeyPath = k: k.path;
|
||||||
|
keys = builtins.filter isEd25519 config.services.openssh.hostKeys;
|
||||||
|
in {
|
||||||
|
imports = [inputs.sop-nix.nixosModules.sops];
|
||||||
|
|
||||||
|
sops = {
|
||||||
|
age.sshKeyPaths = map getKeyPath keys;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;
|
boot.kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;
|
||||||
|
|
||||||
powerManagment.powertop.enable = true;
|
powerManagement.powertop.enable = true;
|
||||||
programs = {
|
programs = {
|
||||||
adb.enable = true;
|
adb.enable = true;
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user