From a45de9e2e216cf73e976192814cdbdbb9164be30 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 26 May 2026 13:27:07 -0400 Subject: make lib extendable with our additions --- system/amdgpu.nix | 2 +- system/default.nix | 4 ++-- system/sshd.nix | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'system') 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; }; }; } -- cgit v1.3.1-freya