diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-08 22:14:13 -0400 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-08 22:14:13 -0400 | 
| commit | ae750d5cc7f39a69728051ff577fd0a5abb41049 (patch) | |
| tree | 2cc0e73b82a867d25417d137e23c726a16ee42db /machines/git/configuration.nix | |
| parent | 50f83e589ba6de2e17d42ae8f729a62344ee89a9 (diff) | |
add git vm
Diffstat (limited to '')
| -rw-r--r-- | machines/git/configuration.nix | 29 | 
1 files changed, 29 insertions, 0 deletions
| diff --git a/machines/git/configuration.nix b/machines/git/configuration.nix new file mode 100644 index 0000000..7024d7e --- /dev/null +++ b/machines/git/configuration.nix @@ -0,0 +1,29 @@ +{ lib, inputs, pkgs, ... }: + +let +  drive = "/dev/nvme0n1"; +in { +  imports = [ +    ./hardware-configuration.nix +    inputs.home-manager.nixosModules.default + +    (import ../../disko.nix { device = drive; }) + +  ] ++ (map (path: ../../modules/${path}) [ +    "core/global.nix" +    "core/impermanence.nix" +    "git/compromyse.nix" +  ]); + +  networking.hostName = "git"; + +  programs.fuse.userAllowOther = true; +  home-manager = { +    extraSpecialArgs = { inherit inputs; }; +    useGlobalPkgs = true; +    useUserPackages = true; +    users = { +      "compromyse" = import ./home.nix; +    }; +  }; +} | 
