diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-12 11:23:58 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-12 11:24:13 -0400 |
commit | 57de4ede0cef89c04a3728e4f8c97f67ce771eff (patch) | |
tree | d183069bc9b8f93f429763ec35e1beb5abd8bc4c /machines/oxo/configuration.nix | |
parent | 607c7626001ba1ba4f0b8b4b4b774b508143cab5 (diff) |
generalize server
Diffstat (limited to 'machines/oxo/configuration.nix')
-rw-r--r-- | machines/oxo/configuration.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/machines/oxo/configuration.nix b/machines/oxo/configuration.nix new file mode 100644 index 0000000..ef7a84b --- /dev/null +++ b/machines/oxo/configuration.nix @@ -0,0 +1,33 @@ +{ lib, inputs, pkgs, ... }: + +{ + imports = [ + ./hardware-configuration.nix + inputs.home-manager.nixosModules.default + ] ++ (map (path: ../../modules/${path}) [ + "core/global.nix" + "ssh.nix" + "compromyse.nix" + "git/user.nix" + "git/cgit.nix" + ]); + + networking.hostName = "oxo"; + + boot.loader.grub = { + enable = true; + forceInstall = true; + device = "/dev/sda"; + }; + + programs.fuse.userAllowOther = true; + home-manager = { + extraSpecialArgs = { inherit inputs; }; + useGlobalPkgs = true; + useUserPackages = true; + users = { + git = import ./git-home.nix; + compromyse = import ./home.nix + }; + }; +} |