add hardware config

feat/kile-v2
Ricard Illa 2022-05-24 09:47:14 +02:00
parent 193a70967f
commit 71f0315804
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 30 additions and 11 deletions

View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1651800560, "lastModified": 1653153149,
"narHash": "sha256-LUfR0/Fv8DA0uu8Uex2S1QcLiE4B5ylplbXmMs6/YoM=", "narHash": "sha256-8B/tWWZziFq4DqnAm9uO7M4Z4PNfllYg5+teX1e5yDQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "538343be863cb0b9e9f1471e6dc09e0e140c7b3d", "rev": "94780dd888881bf35165dfdd334a57ef6b14ead8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -36,13 +36,29 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1653145312,
"narHash": "sha256-affCuB0Boa8CDFykoJVPZfhHLBok7Sq+QEOJvo3Xf+k=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "8b5e1bf2fd62adefff05ae67cd49440be93ea193",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1651726670, "lastModified": 1653060744,
"narHash": "sha256-dSGdzB49SEvdOJvrQWfQYkAefewXraHIV08Vz6iDXWQ=", "narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c777cdf5c564015d5f63b09cc93bef4178b19b01", "rev": "dfd82985c273aac6eced03625f454b334daae2e8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -53,11 +69,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1651743098, "lastModified": 1653087707,
"narHash": "sha256-NuQNu6yHh54li0kZffM59FRC5bWCJusygL4Cy+3O0fY=", "narHash": "sha256-zfno3snrzZTWQ2B7K53QHrGZwrjnJLTRPalymrSsziU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d4191fe35cbe52f755ef73009d4d37b9e002efa2", "rev": "cbd40c72b2603ab54e7208f99f9b35fc158bc009",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -70,6 +86,7 @@
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
} }

View File

@ -8,9 +8,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
impermanence.url = "github:nix-community/impermanence"; impermanence.url = "github:nix-community/impermanence";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
}; };
outputs = outputs = { self, nixpkgs, nixpkgs-stable, nixos-hardware, home-manager
{ self, nixpkgs, nixpkgs-stable, home-manager, impermanence }@inputs: { , impermanence }@inputs: {
nixosConfigurations = { nixosConfigurations = {
trantor = nixpkgs.lib.nixosSystem { trantor = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@ -37,6 +38,7 @@
modules = [ modules = [
./capibara.nix ./capibara.nix
nixos-hardware.nixosModules.lenovo-thinkpad-x230
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
]; ];