He sudo on my nixos-rebuild till I switch
0

Configure Feed

Select the types of activity you want to include in your feed.

modularizing my config further

Madeline Hashcube (Mar 22, 2026, 5:24 PM -0500) c691b71e 5ffa1295

+74 -86
+7
flake.nix
··· 46 46 }; 47 47 modules = [ 48 48 ./configurations/hosts/magames-desktop/configuration.nix 49 + ./modules/users/magames.nix 49 50 agenix.nixosModules.default 50 51 catppuccin.nixosModules.catppuccin 51 52 home-manager.nixosModules.home-manager ··· 57 58 ./modules/programs/appimage.nix 58 59 ./modules/catppuccin.nix 59 60 ./modules/nvidia.nix 61 + ./modules/i18n.nix 60 62 ./modules/network/bluetooth.nix 63 + ./modules/display/hyprland.nix 64 + ./modules/display/niri.nix 65 + ./modules/programs/bash-olto.nix 66 + ./modules/network/ssh.nix 67 + ./modules/network/twingate.nix 61 68 { 62 69 nixpkgs.overlays = [ niri.overlays.niri ]; 63 70 home-manager.useGlobalPkgs = true;
+20
modules/i18n.nix
··· 1 + { ... }: 2 + { 3 + # Set your time zone. 4 + time.timeZone = "America/Chicago"; 5 + 6 + # Select internationalisation properties. 7 + i18n.defaultLocale = "en_US.UTF-8"; 8 + 9 + i18n.extraLocaleSettings = { 10 + LC_ADDRESS = "en_US.UTF-8"; 11 + LC_IDENTIFICATION = "en_US.UTF-8"; 12 + LC_MEASUREMENT = "en_US.UTF-8"; 13 + LC_MONETARY = "en_US.UTF-8"; 14 + LC_NAME = "en_US.UTF-8"; 15 + LC_NUMERIC = "en_US.UTF-8"; 16 + LC_PAPER = "en_US.UTF-8"; 17 + LC_TELEPHONE = "en_US.UTF-8"; 18 + LC_TIME = "en_US.UTF-8"; 19 + }; 20 + }
+10
modules/display/hyprland.nix
··· 1 + { inputs, pkgs, ... }: 2 + { 3 + programs.hyprland = { 4 + enable = true; 5 + # set the flake package 6 + package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; 7 + # make sure to also set the portal package, so that they are in sync 8 + portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; 9 + }; 10 + }
+7
modules/display/niri.nix
··· 1 + { pkgs, ... }: 2 + { 3 + programs.niri = { 4 + enable = true; 5 + package = pkgs.niri-stable; 6 + }; 7 + }
+5
modules/network/ssh.nix
··· 1 + { ... }: 2 + { 3 + # Enable the OpenSSH daemon. 4 + services.openssh.enable = true; 5 + }
+4
modules/network/twingate.nix
··· 1 + { ... }: 2 + { 3 + services.twingate.enable = true; 4 + }
+12
modules/programs/bash-olto.nix
··· 1 + { pkgs, ... }: 2 + { 3 + programs.bash = { 4 + interactiveShellInit = '' 5 + if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] 6 + then 7 + shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION="" 8 + exec ${pkgs.fish}/bin/fish $LOGIN_OPTION 9 + fi 10 + ''; 11 + }; 12 + }
+8
modules/users/magames.nix
··· 1 + { ... }: 2 + { 3 + users.users.magames = { 4 + isNormalUser = true; 5 + description = "Magicman Games"; 6 + extraGroups = [ "networkmanager" "wheel" "adbusers" "kvm"]; 7 + }; 8 + }
-51
configurations/hosts/magames-desktop/configuration.nix
··· 25 25 # networking.proxy.default = "http://user:password@proxy:port/"; 26 26 # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; 27 27 28 - # Set your time zone. 29 - time.timeZone = "America/Chicago"; 30 - 31 - # Select internationalisation properties. 32 - i18n.defaultLocale = "en_US.UTF-8"; 33 - 34 - i18n.extraLocaleSettings = { 35 - LC_ADDRESS = "en_US.UTF-8"; 36 - LC_IDENTIFICATION = "en_US.UTF-8"; 37 - LC_MEASUREMENT = "en_US.UTF-8"; 38 - LC_MONETARY = "en_US.UTF-8"; 39 - LC_NAME = "en_US.UTF-8"; 40 - LC_NUMERIC = "en_US.UTF-8"; 41 - LC_PAPER = "en_US.UTF-8"; 42 - LC_TELEPHONE = "en_US.UTF-8"; 43 - LC_TIME = "en_US.UTF-8"; 44 - }; 45 - 46 28 services.xserver.enable = true; 47 29 services.displayManager.gdm.enable = true; 48 - 49 - programs.hyprland = { 50 - enable = true; 51 - # set the flake package 52 - package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; 53 - # make sure to also set the portal package, so that they are in sync 54 - portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; 55 - }; 56 - 57 - programs.niri = { 58 - enable = true; 59 - package = pkgs.niri-stable; 60 - }; 61 - 62 30 63 31 # Configure keymap in X11 64 32 services.xserver.xkb = { ··· 94 62 # services.xserver.libinput.enable = true; 95 63 96 64 # Define a user account. Don't forget to set a password with ‘passwd’. 97 - users.users.magames = { 98 - isNormalUser = true; 99 - description = "Magicman Games"; 100 - extraGroups = [ "networkmanager" "wheel" "adbusers" "kvm"]; 101 - }; 102 65 103 66 # Allow unfree packages and accept Android SDK License 104 67 nixpkgs.config = { ··· 188 151 openFirewall = true; 189 152 }; 190 153 191 - # Enable the OpenSSH daemon. 192 - services.openssh.enable = true; 193 - 194 - services.twingate.enable = true; 195 154 196 155 virtualisation.virtualbox.host.enable = true; 197 156 users.extraGroups.vboxusers.members = [ "magames" ]; 198 - 199 - programs.bash = { 200 - interactiveShellInit = '' 201 - if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] 202 - then 203 - shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION="" 204 - exec ${pkgs.fish}/bin/fish $LOGIN_OPTION 205 - fi 206 - ''; 207 - }; 208 157 209 158 # This value determines the NixOS release from which the default 210 159 # settings for stateful data, like file locations and database versions
+1 -35
configurations/hosts/magames-lappy/configuration.nix
··· 14 14 boot.loader.systemd-boot.enable = true; 15 15 boot.loader.efi.canTouchEfiVariables = true; 16 16 17 - networking.hostName = "nixos"; # Define your hostname. 17 + networking.hostName = "magames-lappy"; # Define your hostname. 18 18 # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. 19 19 20 20 # Configure network proxy if necessary ··· 23 23 24 24 # Enable networking 25 25 networking.networkmanager.enable = true; 26 - 27 - # Set your time zone. 28 - time.timeZone = "America/Chicago"; 29 - 30 - # Select internationalisation properties. 31 - i18n.defaultLocale = "en_US.UTF-8"; 32 - 33 - i18n.extraLocaleSettings = { 34 - LC_ADDRESS = "en_US.UTF-8"; 35 - LC_IDENTIFICATION = "en_US.UTF-8"; 36 - LC_MEASUREMENT = "en_US.UTF-8"; 37 - LC_MONETARY = "en_US.UTF-8"; 38 - LC_NAME = "en_US.UTF-8"; 39 - LC_NUMERIC = "en_US.UTF-8"; 40 - LC_PAPER = "en_US.UTF-8"; 41 - LC_TELEPHONE = "en_US.UTF-8"; 42 - LC_TIME = "en_US.UTF-8"; 43 - }; 44 26 45 27 # Enable the X11 windowing system. 46 28 # You can disable this if you're only using the Wayland session. ··· 78 60 # Enable touchpad support (enabled default in most desktopManager). 79 61 # services.xserver.libinput.enable = true; 80 62 81 - # Define a user account. Don't forget to set a password with ‘passwd’. 82 - users.users.magames = { 83 - isNormalUser = true; 84 - description = "Magicman Games"; 85 - extraGroups = [ "networkmanager" "wheel" ]; 86 - packages = with pkgs; [ 87 - kdePackages.kate 88 - # thunderbird 89 - ]; 90 - }; 91 - 92 - # Install firefox. 93 - programs.firefox.enable = true; 94 - 95 63 # Allow unfree packages 96 64 nixpkgs.config.allowUnfree = true; 97 65 98 66 # List packages installed in system profile. To search, run: 99 67 # $ nix search wget 100 68 environment.systemPackages = with pkgs; [ 101 - # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. 102 - # wget 103 69 git 104 70 ]; 105 71