diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-08 15:03:47 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-08 15:03:47 -0800 |
commit | d918c00564b6043c65da8ffb704c243a7501dd05 (patch) | |
tree | ad488111ffee83ec40fe908d4dcf20172346270a /hosts/jupiter/default.nix | |
parent | 9e5d37711c77d4921fbb573194ae474bf082df50 (diff) | |
download | nix-d918c00564b6043c65da8ffb704c243a7501dd05.tar nix-d918c00564b6043c65da8ffb704c243a7501dd05.tar.gz nix-d918c00564b6043c65da8ffb704c243a7501dd05.tar.bz2 nix-d918c00564b6043c65da8ffb704c243a7501dd05.tar.lz nix-d918c00564b6043c65da8ffb704c243a7501dd05.tar.xz nix-d918c00564b6043c65da8ffb704c243a7501dd05.tar.zst nix-d918c00564b6043c65da8ffb704c243a7501dd05.zip |
Add @jupiter
Diffstat (limited to '')
-rw-r--r-- | hosts/jupiter/default.nix | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/hosts/jupiter/default.nix b/hosts/jupiter/default.nix new file mode 100644 index 0000000..4ed8c9e --- /dev/null +++ b/hosts/jupiter/default.nix @@ -0,0 +1,61 @@ +{ config, inputs, outputs, pkgs, ... }: { + boot = { + initrd.kernelModules = [ "amdgpu" "zfs" ]; + #kernel.sysctl = { + # "net.ipv4.ip_forward" = true; + #}; + loader = { + efi.canTouchEfiVariables = true; + systemd-boot.enable = true; + timeout = 3; + }; + supportedFilesystems = [ "zfs" ]; + zfs.devNodes = "/dev/disk/by-label"; + }; + + environment.systemPackages = with pkgs; [ + wpa_supplicant + ]; + + imports = [ + ./hardware-configuration.nix + ../common/core + ../common/optional/misc.nix + ../common/optional/services/openssh.nix + ../common/optional/zfs.nix + ../common/users/nipsy + ../common/users/root + ]; + + networking = { + hostId = "d3a9e699"; + hostName = "jupiter"; + domain = "bitgnome.net"; + nftables.enable = true; + }; + + nixpkgs = { + config.allowUnfree = true; + hostPlatform = "x86_64-linux"; + overlays = [ + outputs.overlays.additions + outputs.overlays.modifications + outputs.overlays.master-packages + outputs.overlays.stable-packages + ]; + }; + + #sops = { + # age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; + # defaultSopsFile = ../secrets/jupiter.yaml; + + # secrets = { + # "kea-dhcp4_conf" = {}; + # "nftables/forward" = {}; + # "nftables/ssh" = {}; + # "nix-access-token-github" = {}; + # }; + #}; + + system.stateVersion = "24.11"; +} |