diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2025-05-18 12:08:25 +0000 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2025-05-18 12:08:25 +0000 |
| commit | eb1f2774f4ab15e8f2ec99150eeb3f342d133ea2 (patch) | |
| tree | 73957e3c27f6d0652d7f7a293d38a28052bff42f | |
| parent | f47acf99fd0817a335742f7a6863faa56d3ba6f0 (diff) | |
| parent | 7d7f5905769c488d2129b2ec0ade6451f0765d84 (diff) | |
Merge branch 'master' of ssh://bosco:/srv/git/.flake
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | flake.lock | 95 | ||||
| -rw-r--r-- | flake.nix | 9 | ||||
| -rw-r--r-- | machines/bosco/default.nix | 1 | ||||
| -rw-r--r-- | machines/bosco/reverse-proxy.nix | 11 | ||||
| -rw-r--r-- | machines/iso/configuration.nix | 3 | ||||
| -rw-r--r-- | machines/iso/hardware-configuration.nix | 35 | ||||
| -rw-r--r-- | machines/khad/default.nix | 1 | ||||
| -rw-r--r-- | machines/picast/default.nix | 6 | ||||
| -rw-r--r-- | machines/picast/hardware-configuration.nix | 9 | ||||
| m--------- | resources/website | 0 |
11 files changed, 126 insertions, 47 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d40f6ba --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "resources/website"] + path = resources/website + url = ssh://defin@bosco:/srv/git/foolcreekwireless.git @@ -152,11 +152,11 @@ ] }, "locked": { - "lastModified": 1736864502, - "narHash": "sha256-ItkIZyebGvNH2dK9jVGzJHGPtb6BSWLN8Gmef16NeY0=", + "lastModified": 1746728054, + "narHash": "sha256-eDoSOhxGEm2PykZFa/x9QG5eTH0MJdiJ9aR00VAofXE=", "owner": "nix-community", "repo": "disko", - "rev": "0141aabed359f063de7413f80d906e1d98c0c123", + "rev": "ff442f5d1425feb86344c028298548024f21256d", "type": "github" }, "original": { @@ -262,11 +262,11 @@ ] }, "locked": { - "lastModified": 1746171682, - "narHash": "sha256-EyXUNSa+H+YvGVuQJP1nZskXAowxKYp79RNUsNdQTj4=", + "lastModified": 1747331121, + "narHash": "sha256-3MmiUN/jOHBHQUnjqzg6qKArc17j2OS6jisEppDY4g8=", "owner": "nix-community", "repo": "home-manager", - "rev": "50eee705bbdbac942074a8c120e8194185633675", + "rev": "1eec32f0efe3b830927989767a9e6ece0d82d608", "type": "github" }, "original": { @@ -276,6 +276,18 @@ "type": "github" } }, + "hugo-congo": { + "flake": false, + "locked": { + "narHash": "sha256-gwR2p6jpXG8Cw0sp/wPxiC4M8wNUIxq4YUH6Df2oNCQ=", + "type": "file", + "url": "https://github.com/jpanther/congo" + }, + "original": { + "type": "file", + "url": "https://github.com/jpanther/congo" + } + }, "hyprcursor": { "inputs": { "hyprlang": [ @@ -352,11 +364,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1746141377, - "narHash": "sha256-7Vgy4KoCwuSflfq2nRgnm7sq/b4zV1dXa9J3fF1gm1g=", + "lastModified": 1747301504, + "narHash": "sha256-GAI36RNzF9yC0JOauS1+h681ElwdbD9q/qxxuIqcejQ=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "6f174a9e0892aab5c4c17a7da9be7f92bcdcebec", + "rev": "a5c9b3e49047b4f03f79c5146d8925363eab3072", "type": "github" }, "original": { @@ -474,11 +486,11 @@ ] }, "locked": { - "lastModified": 1745357019, - "narHash": "sha256-q/C3qj9FWHQenObXuw/nGIT8iIsWFjgmcQYcA+ZfpPs=", + "lastModified": 1746655412, + "narHash": "sha256-kVQ0bHVtX6baYxRWWIh4u3LNJZb9Zcm2xBeDPOGz5BY=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "397600c42b8d7a443a5b4e92aa15f46650a90f18", + "rev": "557241780c179cf7ef224df392f8e67dab6cef83", "type": "github" }, "original": { @@ -499,11 +511,11 @@ ] }, "locked": { - "lastModified": 1745975815, - "narHash": "sha256-s3GzsRxBL/N/xYgUXZhQh4t62uR1BN4zxXgWBtJ3lWM=", + "lastModified": 1746635225, + "narHash": "sha256-W9G9bb0zRYDBRseHbVez0J8qVpD5QbizX67H/vsudhM=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "05878d9470c9e5cbc8807813f9ec2006627a0ca0", + "rev": "674ea57373f08b7609ce93baff131117a0dfe70d", "type": "github" }, "original": { @@ -540,15 +552,15 @@ "lix": { "flake": false, "locked": { - "lastModified": 1737234286, - "narHash": "sha256-pgDJZjj4jpzkFxsqBTI/9Yb0n3gW+DvDtuv9SwQZZcs=", - "rev": "079528098f5998ba13c88821a2eca1005c1695de", + "lastModified": 1746827285, + "narHash": "sha256-hsFe4Tsqqg4l+FfQWphDtjC79WzNCZbEFhHI8j2KJzw=", + "rev": "47aad376c87e2e65967f17099277428e4b3f8e5a", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/079528098f5998ba13c88821a2eca1005c1695de.tar.gz?rev=079528098f5998ba13c88821a2eca1005c1695de" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/47aad376c87e2e65967f17099277428e4b3f8e5a.tar.gz?rev=47aad376c87e2e65967f17099277428e4b3f8e5a" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/lix/archive/release-2.92.tar.gz" + "url": "https://git.lix.systems/lix-project/lix/archive/2.93.0.tar.gz" } }, "lix-module": { @@ -561,15 +573,15 @@ ] }, "locked": { - "lastModified": 1742943028, - "narHash": "sha256-fprwZKE1uMzO9tiWWOrmLWBW3GPkMayQfb0xOvVFIno=", - "rev": "868d97695bab9d21f6070b03957bcace249fbe3c", + "lastModified": 1746838955, + "narHash": "sha256-11R4K3iAx4tLXjUs+hQ5K90JwDABD/XHhsM9nkeS5N8=", + "rev": "cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/868d97695bab9d21f6070b03957bcace249fbe3c.tar.gz?rev=868d97695bab9d21f6070b03957bcace249fbe3c" + "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc.tar.gz?rev=cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz" + "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz" } }, "microvm": { @@ -581,11 +593,11 @@ "spectrum": "spectrum" }, "locked": { - "lastModified": 1745262696, - "narHash": "sha256-hbk/u7Tyl7PUw+e9fa2Vk3VKchy7zovEAjichIoZvTM=", + "lastModified": 1747016581, + "narHash": "sha256-iQrEuBs23Cd+bSfcY85GLykHP0vmGrkVfMwUlzvqMQQ=", "owner": "astro", "repo": "microvm.nix", - "rev": "ae53cb29425c3077d7b088bec5d2bd9275594db3", + "rev": "5aff25e6e861e7d96ce10452ca976c16d073cf16", "type": "github" }, "original": { @@ -651,11 +663,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1746055187, - "narHash": "sha256-3dqArYSMP9hM7Qpy5YWhnSjiqniSaT2uc5h2Po7tmg0=", + "lastModified": 1747209494, + "narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3e362ce63e16b9572d8c2297c04f7c19ab6725a5", + "rev": "5d736263df906c5da72ab0f372427814de2f52f8", "type": "github" }, "original": { @@ -682,11 +694,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1746141548, - "narHash": "sha256-IgBWhX7A2oJmZFIrpRuMnw5RAufVnfvOgHWgIdds+hc=", + "lastModified": 1747179050, + "narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f02fddb8acef29a8b32f10a335d44828d7825b78", + "rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e", "type": "github" }, "original": { @@ -722,11 +734,11 @@ ] }, "locked": { - "lastModified": 1742649964, - "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=", + "lastModified": 1746537231, + "narHash": "sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS+noCWo=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82", + "rev": "fa466640195d38ec97cf0493d6d6882bc4d14969", "type": "github" }, "original": { @@ -745,6 +757,7 @@ "catppuccin-starship": "catppuccin-starship", "disko": "disko", "home-manager": "home-manager", + "hugo-congo": "hugo-congo", "hyprland": "hyprland", "lix-module": "lix-module", "microvm": "microvm", @@ -759,11 +772,11 @@ "spectrum": { "flake": false, "locked": { - "lastModified": 1733308308, - "narHash": "sha256-+RcbMAjSxV1wW5UpS9abIG1lFZC8bITPiFIKNnE7RLs=", + "lastModified": 1746869549, + "narHash": "sha256-BKZ/yZO/qeLKh9YqVkKB6wJiDQJAZNN5rk5NsMImsWs=", "ref": "refs/heads/main", - "rev": "80c9e9830d460c944c8f730065f18bb733bc7ee2", - "revCount": 792, + "rev": "d927e78530892ec8ed389e8fae5f38abee00ad87", + "revCount": 862, "type": "git", "url": "https://spectrum-os.org/git/spectrum" }, @@ -15,7 +15,7 @@ # alternative nix compiler lix-module = { - url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz"; + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz"; inputs.nixpkgs.follows = "nixpkgs"; }; @@ -71,6 +71,11 @@ flake = false; }; + hugo-congo = { + url = "https://github.com/jpanther/congo"; + flake = false; + }; + # ryan4yin wallpapers wallpapers = { url = "github:ryan4yin/wallpapers"; @@ -284,7 +289,7 @@ }; live = lib.nixosSystem { modules = minimalHomeManagerSettings ++ [ - (nixpkgs + "/nixos/modules/installer/sd-card/sd-image-aarch64-installer.nix") + # (nixpkgs + "/nixos/modules/installer/sd-card/sd-image-aarch64-installer.nix") ./machines/iso/configuration.nix ./modules/users/defin.nix ./modules/nixos/system-packages.nix diff --git a/machines/bosco/default.nix b/machines/bosco/default.nix index b37887e..bb2867f 100644 --- a/machines/bosco/default.nix +++ b/machines/bosco/default.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ./reverse-proxy.nix ../../modules/nixos/nix-common.nix ../../modules/nixos/environment.nix diff --git a/machines/bosco/reverse-proxy.nix b/machines/bosco/reverse-proxy.nix new file mode 100644 index 0000000..9d3e382 --- /dev/null +++ b/machines/bosco/reverse-proxy.nix @@ -0,0 +1,11 @@ +{ config, ... }: { + services.caddy = { + enable = true; + virtualHosts."foolcreekwireless.com" = { + serverAliases = [ "www.foolcreekwireless.com" ]; + extraConfig = '' + reverse_proxy http://doretta + ''; + }; + }; +} diff --git a/machines/iso/configuration.nix b/machines/iso/configuration.nix index ee400d3..29b429a 100644 --- a/machines/iso/configuration.nix +++ b/machines/iso/configuration.nix @@ -1,4 +1,7 @@ { ... }: { + imports = [ + ./hardware-configuration.nix + ]; nixpkgs = { config.allowUnfree = true; }; diff --git a/machines/iso/hardware-configuration.nix b/machines/iso/hardware-configuration.nix new file mode 100644 index 0000000..78601ad --- /dev/null +++ b/machines/iso/hardware-configuration.nix @@ -0,0 +1,35 @@ +# hardware-configuration.nix + +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-label/NIXOS_SD"; # this is important! + fsType = "ext4"; + options = [ "noatime" ]; + }; + + swapDevices = [ ]; + + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.end0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlan0.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; +} diff --git a/machines/khad/default.nix b/machines/khad/default.nix index f28fdbe..cd6f22f 100644 --- a/machines/khad/default.nix +++ b/machines/khad/default.nix @@ -33,6 +33,7 @@ }; kernelPackages = pkgs.linuxPackages_latest; # use latest kernel }; + boot.binfmt.emulatedSystems = ["aarch64-linux"]; hardware.onlykey.enable = true; networking.hostName = "khad"; # Define your hostname. diff --git a/machines/picast/default.nix b/machines/picast/default.nix index 827045f..ff10ad5 100644 --- a/machines/picast/default.nix +++ b/machines/picast/default.nix @@ -28,7 +28,11 @@ # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Set your time zone. +<<<<<<< HEAD time.timeZone = "US/Mountain"; +======= + time.timeZone = "America/Denver"; +>>>>>>> 7d7f5905769c488d2129b2ec0ade6451f0765d84 # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -69,7 +73,7 @@ # Some programs need SUID wrappers, can be configured further or are # started in user sessions. - # programs.mtr.enable = true; + programs.mtr.enable = true; # programs.gnupg.agent = { # enable = true; # enableSSHSupport = true; diff --git a/machines/picast/hardware-configuration.nix b/machines/picast/hardware-configuration.nix index 3f13493..78601ad 100644 --- a/machines/picast/hardware-configuration.nix +++ b/machines/picast/hardware-configuration.nix @@ -1,3 +1,5 @@ +# hardware-configuration.nix + # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. @@ -8,14 +10,15 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; + { device = "/dev/disk/by-label/NIXOS_SD"; # this is important! fsType = "ext4"; + options = [ "noatime" ]; }; swapDevices = [ ]; @@ -25,7 +28,7 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enu1u1.useDHCP = lib.mkDefault true; + # networking.interfaces.end0.useDHCP = lib.mkDefault true; # networking.interfaces.wlan0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; diff --git a/resources/website b/resources/website new file mode 160000 +Subproject bd646ed8fa57e29235bfc66cbeb4d7508fd6a2a |
