aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-04-23 15:30:55 +0200
committerLinnea Gräf <nea@nea.moe>2025-04-23 15:30:55 +0200
commit0e6063bfa7e4cedb84459553fc9ab0e66f5c2a00 (patch)
tree64fc812daa58c1e0240ecbe5b0515f7a9a23f04f
parent8b2b75cc5590fb7aa85b3143e85997ccb5151943 (diff)
downloadnix-infra-0e6063bfa7e4cedb84459553fc9ab0e66f5c2a00.tar.gz
nix-infra-0e6063bfa7e4cedb84459553fc9ab0e66f5c2a00.tar.bz2
nix-infra-0e6063bfa7e4cedb84459553fc9ab0e66f5c2a00.zip
snapshot: Mi 23. Apr 15:30:55 CEST 2025
-rw-r--r--flake.lock21
-rw-r--r--flake.nix15
2 files changed, 34 insertions, 2 deletions
diff --git a/flake.lock b/flake.lock
index 57b7828..540b164 100644
--- a/flake.lock
+++ b/flake.lock
@@ -151,6 +151,26 @@
"type": "github"
}
},
+ "home-manager": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1745414626,
+ "narHash": "sha256-c3M+Zq11JgiPq76H0fpLGnoWsGu9cbB/FGPoT8PpWm8=",
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "rev": "814521fdc16813b036415edb4bb42a8733729dd5",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "type": "github"
+ }
+ },
"lanzaboote": {
"inputs": {
"crane": "crane",
@@ -261,6 +281,7 @@
"customss": "customss",
"disko": "disko",
"flake-utils": "flake-utils_2",
+ "home-manager": "home-manager",
"lanzaboote": "lanzaboote",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs"
diff --git a/flake.nix b/flake.nix
index 6a5b5a9..05fc5df 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,6 +3,10 @@
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
+ home-manager = {
+ url = "github:nix-community/home-manager";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
flake-utils = {
url = "github:numtide/flake-utils";
};
@@ -37,10 +41,17 @@
lanzaboote,
flake-utils,
customss,
+ home-manager,
...
}:
let
- osConfig = {
+ staticConfig = {
+ homeConfigurations = {
+ "nea" = home-manager.lib.homeManagerConfiguration {
+ pkgs = import nixpkgs { system = "x86_64-linux"; };
+ modules = [ ];
+ };
+ };
nixosConfigurations = {
hadante = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
@@ -89,5 +100,5 @@
}
);
in
- (metaConfig // osConfig);
+ (metaConfig // staticConfig);
}