diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-14 20:38:36 -0400 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-14 20:38:36 -0400 |
| commit | 38f367edeb21e222cbc185b21fdc14b2b86de4c1 (patch) | |
| tree | 788c87dd187471c15b86a1ebda6204162b5478c5 /machines/owo/configuration.nix | |
| parent | b2187654d3b7670ae8dd9038b4391435d8ced6e1 (diff) | |
add owo
Diffstat (limited to 'machines/owo/configuration.nix')
| -rw-r--r-- | machines/owo/configuration.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/machines/owo/configuration.nix b/machines/owo/configuration.nix new file mode 100644 index 0000000..162fa63 --- /dev/null +++ b/machines/owo/configuration.nix @@ -0,0 +1,35 @@ +{ lib, inputs, pkgs, ... }: + +{ + imports = [ + ./hardware-configuration.nix + inputs.home-manager.nixosModules.default + ] ++ (map (path: ../../modules/${path}) [ + "core/global.nix" + "ssh.nix" + "compromyse.nix" + ]); + + networking.hostName = "owo"; + + boot.loader.grub = { + enable = true; + forceInstall = true; + device = "/dev/sda"; + }; + + networking.firewall = { + enable = lib.mkForce true; + allowedTCPPorts = [ 80 443 22 ]; + }; + + programs.fuse.userAllowOther = true; + home-manager = { + extraSpecialArgs = { inherit inputs; }; + useGlobalPkgs = true; + useUserPackages = true; + users = { + compromyse = import ./home.nix; + }; + }; +} |
