diff --git a/flake.lock b/flake.lock index 71cdaaa..db709a1 100644 --- a/flake.lock +++ b/flake.lock @@ -3,9 +3,7 @@ "agenix": { "inputs": { "darwin": "darwin", - "home-manager": [ - "home-manager" - ], + "home-manager": "home-manager", "nixpkgs": [ "nixpkgs" ], @@ -106,15 +104,36 @@ "home-manager": { "inputs": { "nixpkgs": [ + "agenix", "nixpkgs" ] }, "locked": { - "lastModified": 1750730235, - "narHash": "sha256-rZErlxiV7ssvI8t7sPrKU+fRigNc2KvoKZG3gtUtK50=", + "lastModified": 1745494811, + "narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=", "owner": "nix-community", "repo": "home-manager", - "rev": "d07e9cceb4994ed64a22b9b36f8b76923e87ac38", + "rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_2": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1750654717, + "narHash": "sha256-YXlhTUGaLAY1rSosaRXO5RSGriEyF9BGdLkpKV+9jyI=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "4c9e99e8e8e36bcdfa9cdb102e45e4dc95aa5c5b", "type": "github" }, "original": { @@ -207,11 +226,11 @@ }, "nixpkgs-small": { "locked": { - "lastModified": 1750752886, - "narHash": "sha256-pP1ZBxEo44HbLDyXVPPK8BQO882eGKpW9zzXliGFA/8=", + "lastModified": 1750666157, + "narHash": "sha256-5xSV9MLO0pqsaoGEDx2um0gvEZhMg0uIsR68NrQbiY8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "83685a4ccd44d2d4c09f2e5f7773d2f3f2156121", + "rev": "3233bc422b7c868fe5c853e82888d5dbbbd9f0c6", "type": "github" }, "original": { @@ -227,7 +246,7 @@ "devshell": "devshell", "flake-registry": "flake-registry", "flake-utils": "flake-utils", - "home-manager": "home-manager", + "home-manager": "home-manager_2", "homepage": "homepage", "nixos-generators": "nixos-generators", "nixos-hardware": "nixos-hardware", diff --git a/flake.nix b/flake.nix index 6ccece0..0cc4b5c 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,6 @@ agenix = { url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; - inputs.home-manager.follows = "home-manager"; }; devshell = { url = "github:numtide/devshell"; diff --git a/home/pkgs.nix b/home/pkgs.nix index 7a707e1..1a073ce 100644 --- a/home/pkgs.nix +++ b/home/pkgs.nix @@ -48,6 +48,7 @@ with pkgs; h # Manage git repos hexyl # hex viewer htop + http-prompt httpie hub hyperfine # A command-line benchmarking tool. diff --git a/nixos/gorgon/configuration.nix b/nixos/gorgon/configuration.nix index 0f14aa9..9c8b8e3 100644 --- a/nixos/gorgon/configuration.nix +++ b/nixos/gorgon/configuration.nix @@ -70,10 +70,11 @@ in }; }; }; + kernel.sysctl = { + "vm.swappiness" = 90; + }; }; - zramSwap.enable = true; - networking.hostName = "gorgon"; dadada = { @@ -135,14 +136,14 @@ in ]; }; - #hardware.printers.ensurePrinters = [ - # { - # name = "Brother_HL-L2300D"; - # model = "everywhere"; - # location = "BS"; - # deviceUri = "ipp://192.168.101.29:631/printers/Brother_HL-L2300D"; - # } - #]; + hardware.printers.ensurePrinters = [ + { + name = "Brother_HL-L2300D"; + model = "everywhere"; + location = "BS"; + deviceUri = "ipp://192.168.101.29:631/printers/Brother_HL-L2300D"; + } + ]; environment.systemPackages = with pkgs; [ android-studio