diff --git a/flake.lock b/flake.lock index c4174e8..491cf80 100644 --- a/flake.lock +++ b/flake.lock @@ -436,42 +436,6 @@ "type": "github" } }, - "nixlib": { - "locked": { - "lastModified": 1736643958, - "narHash": "sha256-tmpqTSWVRJVhpvfSN9KXBvKEXplrwKnSZNAoNPf/S/s=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "1418bc28a52126761c02dd3d89b2d8ca0f521181", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, - "nixos-generators": { - "inputs": { - "nixlib": "nixlib", - "nixpkgs": [ - "nixunstable" - ] - }, - "locked": { - "lastModified": 1769813415, - "narHash": "sha256-nnVmNNKBi1YiBNPhKclNYDORoHkuKipoz7EtVnXO50A=", - "owner": "nix-community", - "repo": "nixos-generators", - "rev": "8946737ff703382fda7623b9fab071d037e897d5", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixos-generators", - "type": "github" - } - }, "nixpkgs": { "locked": { "lastModified": 1767767207, @@ -737,7 +701,6 @@ "flake-parts": "flake-parts_2", "hmunstable": "hmunstable", "nix-hardware": "nix-hardware", - "nixos-generators": "nixos-generators", "nixunstable": "nixunstable", "nixvimunstable": "nixvimunstable", "nurpkgs": "nurpkgs", diff --git a/flake.nix b/flake.nix index 7a8e685..cac4caf 100644 --- a/flake.nix +++ b/flake.nix @@ -31,10 +31,6 @@ # To enable backups: https://github.com/SaumonNet/proxmox-nixos/pull/45 #proxmox.url = "github:blecher-at/proxmox-nixos/fix-backup-pve-manager"; nix-hardware.url = "github:nixos/nixos-hardware"; - nixos-generators = { - url = "github:nix-community/nixos-generators"; - inputs.nixpkgs.follows = "nixunstable"; - }; nixvimunstable = { url = "github:nix-community/nixvim/main"; inputs.nixpkgs.follows = "nixunstable"; diff --git a/hosts/default.nix b/hosts/default.nix index 028968c..242a256 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -5,7 +5,6 @@ }: let inherit (top.nixunstable) lib; - wsl = args: (unstable (args // { extraMods = [ top.wsl.nixosModules.wsl ]; })); unstable = { channel ? top.nixunstable, @@ -57,7 +56,7 @@ in ) // { # nix build '.#nixosConfigurations.wsl.config.system.build.installer' - nixos = wsl { name = "wsl"; }; + #nixos = wsl { name = "wsl"; }; # nix build '.#nixosConfigurations.wsl-aarch.config.system.build.installer' #nixos-arm = wsl { # name = "wsl"; diff --git a/hosts/wsl/default.nix b/hosts/wsl/default.nix index 3debb9c..357a273 100644 --- a/hosts/wsl/default.nix +++ b/hosts/wsl/default.nix @@ -1,6 +1,7 @@ { ... }: { + imports = [ top.wsl.nixosModules.default ]; wsl = { enable = true; wslConf.automount.root = "/mnt";