diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-09-09 20:39:48 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-09-09 20:39:48 -0500 |
| commit | 10c22ef344bc22ca62e916d30468e97e368ff99b (patch) | |
| tree | 2c2306a572d5df70059b0924ebd22f158a88aef6 /flake.nix | |
| parent | e26a6405bd5916a2eb6bed47a02ccd5273716901 (diff) | |
system-manager for non-nixos machine ganymede
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -19,6 +19,12 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + # for server that doesn't have nixos + system-manager = { + url = "github:numtide/system-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + hjem = { url = "github:feel-co/hjem"; inputs.nixpkgs.follows = "nixpkgs"; @@ -26,19 +32,24 @@ }; outputs = inputs: let - mkSystem = import ./lib/nix-furnace/mkSystem.nix; + inherit (import ./lib/nix-furnace/mkSystem.nix) mkNixosSystem mkSystemManagerSystem; in { - nixosConfigurations."mercury" = mkSystem { + nixosConfigurations."mercury" = mkNixosSystem { inherit inputs; hostname = "mercury"; username = "collin"; module_types = ["hjem" "nixos"]; }; - nixosConfigurations."jupiter" = mkSystem { + nixosConfigurations."jupiter" = mkNixosSystem { inherit inputs; hostname = "jupiter"; username = "collin"; module_types = ["hjem" "home" "nixos"]; }; + + systemConfigs."ganymede" = mkSystemManagerSystem { + inherit inputs; + hostanme = "ganymede"; + }; }; } |
