]> gitweb.ps.run Git - flake_thinkpad/blobdiff - flake.nix
update
[flake_thinkpad] / flake.nix
index 4996186492ebbe7568504dd78345e92203713273..70c68f6e535ed3d4e020cef0e868d47c8e6421fe 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -7,16 +7,6 @@
 
     impermanence.url = "github:nix-community/impermanence";
 
 
     impermanence.url = "github:nix-community/impermanence";
 
-    extra-container = {
-      url = "github:erikarvstedt/extra-container";
-      inputs.nixpkgs.follows = "nixpkgs";
-    };
-
-    psch-flakes = {
-      url = "git://psch.dev/flakes";
-      inputs.nixpkgs.follows = "nixpkgs";
-    };
-
     home-manager = {
       url = "github:nix-community/home-manager/release-25.05";
       inputs.nixpkgs.follows = "nixpkgs";
     home-manager = {
       url = "github:nix-community/home-manager/release-25.05";
       inputs.nixpkgs.follows = "nixpkgs";
       url = "github:zigtools/zls";
       inputs.nixpkgs.follows = "nixpkgs";
     };
       url = "github:zigtools/zls";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+    
+    ps-flakes = {
+      url = "git://ps.run/flakes";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
 
 
-    microvm.url = "github:astro/microvm.nix";
-    microvm.inputs.nixpkgs.follows = "nixpkgs";
+    nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
   };
 
   outputs = { self, nixpkgs, ... }@inputs: {
     nixosConfigurations.default = nixpkgs.lib.nixosSystem {
       specialArgs = {inherit inputs;};
   };
 
   outputs = { self, nixpkgs, ... }@inputs: {
     nixosConfigurations.default = nixpkgs.lib.nixosSystem {
       specialArgs = {inherit inputs;};
-      modules = [ ./configuration.nix ];
+      modules = [
+        ./config-wsl.nix
+        ./config-system.nix
+        ./config-user.nix
+        ./config-networking.nix
+        ./config-packages.nix
+        ./config-services.nix
+        ./config-containers.nix
+        ./config-incus.nix
+        
+        inputs.home-manager.nixosModules.default
+        inputs.nixos-wsl.nixosModules.default {
+          system.stateVersion = "24.11";
+          wsl.enable = true;
+        }
+      ];
     };
   };
 }
     };
   };
 }