diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-01 15:05:36 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-01 15:05:36 -0800 |
| commit | c46325d82f3a325021811f1be844ba24b0ee5688 (patch) | |
| tree | cf2824f076c0023c736b26887cd55fe2d93ef0bf /nix/systems | |
| parent | 004d30ad75da83075ce0fae01f41f5205302e7da (diff) | |
add nice keybindings and options for hyprland; start of rpi-zero
Diffstat (limited to 'nix/systems')
| -rw-r--r-- | nix/systems/rpi-zero/default.nix | 22 | ||||
| -rw-r--r-- | nix/systems/rpi-zero/home.nix | 7 | ||||
| -rw-r--r-- | nix/systems/spontaneity/default.nix | 7 |
3 files changed, 32 insertions, 4 deletions
diff --git a/nix/systems/rpi-zero/default.nix b/nix/systems/rpi-zero/default.nix new file mode 100644 index 0000000..f0e4dec --- /dev/null +++ b/nix/systems/rpi-zero/default.nix @@ -0,0 +1,22 @@ +{ lib, config, home-manager, ... }: +{ + imports = [ + ../common.nix + ]; + config = { + zramSwap = { + enable = true; + algorithm = "zstd"; + memoryPercent = 100; + }; + boot.loader.grub.enable = false; + boot.loader.generic-extlinux-compatible.enable = true; + monorepo = { + vars.device = "/dev/mmcblk0"; + profiles = { + server.enable = false; + ttyonly.enable = true; + }; + }; + }; +} diff --git a/nix/systems/rpi-zero/home.nix b/nix/systems/rpi-zero/home.nix new file mode 100644 index 0000000..205ea02 --- /dev/null +++ b/nix/systems/rpi-zero/home.nix @@ -0,0 +1,7 @@ +{ lib, config, pkgs, ... }: +{ + imports = [ + ../home-common.nix + ]; + config.monorepo.profiles.enable = false; +} diff --git a/nix/systems/spontaneity/default.nix b/nix/systems/spontaneity/default.nix index 9f33555..a7e78fc 100644 --- a/nix/systems/spontaneity/default.nix +++ b/nix/systems/spontaneity/default.nix @@ -35,12 +35,11 @@ systemd.network.networks."40-ens3" = { matchConfig.Name = "ens3"; networkConfig = { - # This is the magic combo for Vultr: - IPv6AcceptRA = true; # Accept routes (so we know where the internet is) - IPv6PrivacyExtensions = false; # No random privacy IPs + IPv6AcceptRA = true; + IPv6PrivacyExtensions = false; }; ipv6AcceptRAConfig = { - UseAutonomousPrefix = false; # Do NOT generate an IP address from the RA + UseAutonomousPrefix = false; }; }; networking = { |
