diff --git a/configs/tmux/tmux.conf b/nixos-anywhere/configs/tmux/tmux.conf similarity index 100% rename from configs/tmux/tmux.conf rename to nixos-anywhere/configs/tmux/tmux.conf diff --git a/nixos-anywhere/flake.lock b/nixos-anywhere/flake.lock index 81502f3..195ed03 100644 --- a/nixos-anywhere/flake.lock +++ b/nixos-anywhere/flake.lock @@ -58,16 +58,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1751949589, - "narHash": "sha256-mgFxAPLWw0Kq+C8P3dRrZrOYEQXOtKuYVlo9xvPntt8=", + "lastModified": 1751943650, + "narHash": "sha256-7orTnNqkGGru8Je6Un6mq1T8YVVU/O5kyW4+f9C1mZQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9b008d60392981ad674e04016d25619281550a9d", + "rev": "88983d4b665fb491861005137ce2b11a9f89f203", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixpkgs-unstable", + "ref": "nixos-25.05", "repo": "nixpkgs", "type": "github" } diff --git a/nixos-anywhere/flake.nix b/nixos-anywhere/flake.nix index 2820a90..44d9b27 100644 --- a/nixos-anywhere/flake.nix +++ b/nixos-anywhere/flake.nix @@ -9,7 +9,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; nixos-facter-modules.url = "github:numtide/nixos-facter-modules"; - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; }; outputs = @@ -34,7 +34,6 @@ in { # tested with 2GB/2CPU droplet, 1GB droplets do not have enough RAM for kexec nixosConfigurations.digitalocean = nixpkgs.lib.nixosSystem { - system = "${system}"; modules = [ ./configuration.nix ./digitalocean.nix @@ -49,6 +48,10 @@ ./modules ./users ]; + specialArgs = { + inherit configFiles; + }; + system = "${system}"; }; }; } diff --git a/nixos-anywhere/modules/home/default.nix b/nixos-anywhere/modules/home/default.nix index 520a646..479573e 100644 --- a/nixos-anywhere/modules/home/default.nix +++ b/nixos-anywhere/modules/home/default.nix @@ -1,5 +1,4 @@ { imports = [ - ./system ]; }