diff options
author | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-10-05 20:47:54 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-10-05 20:47:54 +0200 |
commit | 5aea19e5606f60302c087c1dcb1e76341a63a139 (patch) | |
tree | 401250068d1df67277179e675ac2ac8d4680f88c /flake.nix | |
parent | b74758202ce71bae2c18a47ea00ccb62aab9e941 (diff) | |
download | dots-5aea19e5606f60302c087c1dcb1e76341a63a139.tar.gz dots-5aea19e5606f60302c087c1dcb1e76341a63a139.zip |
Add x220 disko
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix index bbabfb3..ed19fcc 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,8 @@ inputs.nixpkgs.follows = "nixpkgs"; }; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + disko.url = "github:nix-community/disko"; + disko.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, ... }@inputs: @@ -50,6 +52,17 @@ home-manager.users.pn = import ./home.nix; } ]; + x220 = nixosSystem "x86_64-linux" "x220" [ + inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x220 + inputs.disko.nixosModules.disko + inputs.home-manager.nixosModules.default + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.pn = import ./home.nix; + } + + ]; }; }; } |