diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-04-23 15:30:55 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-04-23 15:30:55 +0200 |
| commit | 0e6063bfa7e4cedb84459553fc9ab0e66f5c2a00 (patch) | |
| tree | 64fc812daa58c1e0240ecbe5b0515f7a9a23f04f | |
| parent | 8b2b75cc5590fb7aa85b3143e85997ccb5151943 (diff) | |
| download | nix-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.lock | 21 | ||||
| -rw-r--r-- | flake.nix | 15 |
2 files changed, 34 insertions, 2 deletions
@@ -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" @@ -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); } |
