diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-05-26 13:27:07 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-05-26 13:27:07 -0400 |
| commit | a45de9e2e216cf73e976192814cdbdbb9164be30 (patch) | |
| tree | 4c2cb500b9d568693597a676ef2b8d27a93284d3 /system | |
| parent | prepare kaworu host for new pc (diff) | |
| download | dotfiles-nix-a45de9e2e216cf73e976192814cdbdbb9164be30.tar.gz dotfiles-nix-a45de9e2e216cf73e976192814cdbdbb9164be30.tar.bz2 dotfiles-nix-a45de9e2e216cf73e976192814cdbdbb9164be30.zip | |
make lib extendable with our additions
Diffstat (limited to 'system')
| -rw-r--r-- | system/amdgpu.nix | 2 | ||||
| -rw-r--r-- | system/default.nix | 4 | ||||
| -rw-r--r-- | system/sshd.nix | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/system/amdgpu.nix b/system/amdgpu.nix index de58a62..df9a52c 100644 --- a/system/amdgpu.nix +++ b/system/amdgpu.nix @@ -15,7 +15,7 @@ in { }; # AMD Anti-Lag - environment.systemPackages = [ pkgs.low-latency-layer ]; + environment.systemPackages = [pkgs.low-latency-layer]; environment.etc."vulkan/implicit_layer.d/low_latency_layer.json".source = "${pkgs.low-latency-layer}/share/vulkan/implicit_layer.d/low_latency_layer.json"; # Configuration diff --git a/system/default.nix b/system/default.nix index fd2e1cc..17462d8 100644 --- a/system/default.nix +++ b/system/default.nix @@ -92,7 +92,7 @@ in { imports = [ ../home ../options.nix - (inputs.self.lib.homeConfig config) + (lib.home.mkConfig config) ]; }; @@ -180,7 +180,7 @@ in { }; # certs - security.pki.certificateFiles = inputs.self.lib.certs; + security.pki.certificateFiles = lib.files.certs; # sudo security.sudo.enable = false; diff --git a/system/sshd.nix b/system/sshd.nix index e60da43..088b6e1 100644 --- a/system/sshd.nix +++ b/system/sshd.nix @@ -1,7 +1,6 @@ { lib, config, - inputs, ... }: let inherit (lib) mkIf; @@ -35,7 +34,7 @@ in { # add authorized keys users.users.${config.user} = { - openssh.authorizedKeys.keyFiles = inputs.self.lib.sshKeys; + openssh.authorizedKeys.keyFiles = lib.files.sshKeys; }; }; } |