Fix build uncommented

This commit is contained in:
muon 2026-03-29 08:13:54 +00:00
parent ea10bd0c70
commit fc96ccde8d
6 changed files with 14 additions and 15 deletions

View file

@ -103,6 +103,7 @@
./modules/nixos ./modules/nixos
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
inputs.impermanence.nixosModules.impermanence
]; ];
}; };

View file

@ -82,6 +82,14 @@ in {
}; };
networking.firewall.allowedTCPPorts = [80]; networking.firewall.allowedTCPPorts = [80];
# Wildcard DNS: *.word.local -> 127.0.0.1 via NetworkManager's built-in dnsmasq
networking.networkmanager.dns = "dnsmasq";
# Force resolv.conf to use local dnsmasq so wildcard DNS is actually queried
networking.resolvconf.useLocalResolver = true;
environment.etc."NetworkManager/dnsmasq.d/word-local.conf".text = ''
address=/.word.local/127.0.0.1
'';
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = ["user-with-access-to-virtualbox"]; users.extraGroups.vboxusers.members = ["user-with-access-to-virtualbox"];

View file

@ -6,8 +6,6 @@
}: { }: {
# Modules # Modules
mods.terminal.zsh.enable = true; mods.terminal.zsh.enable = true;
# mods.terminal.development.enable = true;
# mods.terminal.tools.enable = true;
# Version of first install # Version of first install
home.stateVersion = "24.05"; home.stateVersion = "24.05";

View file

@ -237,6 +237,6 @@ with lib; {
}; };
}; };
}; };
# stylix.targets.zen-browser.profileNames = ["default"]; stylix.targets.zen-browser.profileNames = ["default"];
}; };
} }

View file

@ -103,14 +103,6 @@ in
127.0.0.1 word.local 127.0.0.1 word.local
''; '';
# # Wildcard DNS: *.word.local -> 127.0.0.1 via NetworkManager's built-in dnsmasq
# networking.networkmanager.dns = "dnsmasq";
# # Force resolv.conf to use local dnsmasq so wildcard DNS is actually queried
# networking.resolvconf.useLocalResolver = true;
# environment.etc."NetworkManager/dnsmasq.d/word-local.conf".text = ''
# address=/.word.local/127.0.0.1
# '';
# gateway = # gateway =
# "${pkgs.networkmanager}/bin/nmcli dev show ${interface} | ${pkgs.gnugrep}/bin/fgrep IP4.GATEWAY | ${pkgs.awk}/bin/awk {print $2}"; # "${pkgs.networkmanager}/bin/nmcli dev show ${interface} | ${pkgs.gnugrep}/bin/fgrep IP4.GATEWAY | ${pkgs.awk}/bin/awk {print $2}";
}; };

View file

@ -8,10 +8,10 @@ with lib; {
options.mods.impermanence.enable = mkEnableOption "enables impermanence"; options.mods.impermanence.enable = mkEnableOption "enables impermanence";
config = mkIf config.mods.impermanence.enable { config = mkIf config.mods.impermanence.enable {
# environment.persistence."/persist" = { environment.persistence."/persist" = {
# directories = ["/var/lib/nixos" "/var/lib/systemd/coredump"]; directories = ["/var/lib/nixos" "/var/lib/systemd/coredump"];
# files = ["/var/lib/sops-nix/key.txt" "/etc/machine-id"]; files = ["/var/lib/sops-nix/key.txt" "/etc/machine-id"];
# }; };
boot.initrd.postResumeCommands = boot.initrd.postResumeCommands =
lib.mkAfter # sh lib.mkAfter # sh