Add surface modules

This commit is contained in:
Manuel Thalmann 2024-05-21 10:31:46 +02:00
parent 7f02848988
commit 3e61864ed3
2 changed files with 22 additions and 1 deletions

View file

@ -61,6 +61,22 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1716173274,
"narHash": "sha256-FC21Bn4m6ctajMjiUof30awPBH/7WjD0M5yqrWepZbY=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "d9e0b26202fd500cf3e79f73653cce7f7d541191",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "d9e0b26202fd500cf3e79f73653cce7f7d541191",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1718089647, "lastModified": 1718089647,
@ -113,6 +129,7 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"minegrub-theme": "minegrub-theme", "minegrub-theme": "minegrub-theme",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }

View file

@ -4,6 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "nixpkgs/f7207adcc68d9cafa29e3cd252a18743ae512c6a"; nixpkgs.url = "nixpkgs/f7207adcc68d9cafa29e3cd252a18743ae512c6a";
flake-utils.url = "github:numtide/flake-utils?ref=b1d9ab70662946ef0850d488da1c9019f3a9752a"; flake-utils.url = "github:numtide/flake-utils?ref=b1d9ab70662946ef0850d488da1c9019f3a9752a";
nixos-hardware.url = "github:NixOS/nixos-hardware?ref=d9e0b26202fd500cf3e79f73653cce7f7d541191";
home-manager = { home-manager = {
url = "github:nix-community/home-manager?ref=892f76bd0aa09a0f7f73eb41834b8a904b6d0fad"; url = "github:nix-community/home-manager?ref=892f76bd0aa09a0f7f73eb41834b8a904b6d0fad";
@ -18,7 +19,7 @@
}; };
}; };
outputs = { self, nixpkgs, flake-utils, home-manager, sops-nix, minegrub-theme }: ( outputs = { self, nixpkgs, flake-utils, nixos-hardware, home-manager, sops-nix, minegrub-theme }: (
let let
inherit (nixpkgs) lib; inherit (nixpkgs) lib;
@ -55,6 +56,9 @@
nixos.config = { ... }: { nixos.config = { ... }: {
}; };
manu-surface.config = { ... }: { manu-surface.config = { ... }: {
modules = [
nixos-hardware.nixosModules.microsoft-surface-pro-intel
];
}; };
}; };