mirror of
https://codeberg.org/muon/home.git
synced 2026-07-03 23:49:35 +00:00
Fix mups
This commit is contained in:
parent
0e00821e0e
commit
bbc1b6f794
8 changed files with 66 additions and 94 deletions
|
|
@ -103,13 +103,13 @@ in
|
|||
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
|
||||
'';
|
||||
# # 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 =
|
||||
# "${pkgs.networkmanager}/bin/nmcli dev show ${interface} | ${pkgs.gnugrep}/bin/fgrep IP4.GATEWAY | ${pkgs.awk}/bin/awk {print $2}";
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ with lib; {
|
|||
options.mods.impermanence.enable = mkEnableOption "enables impermanence";
|
||||
|
||||
config = mkIf config.mods.impermanence.enable {
|
||||
environment.persistence."/persist" = {
|
||||
directories = ["/var/lib/nixos" "/var/lib/systemd/coredump"];
|
||||
files = ["/var/lib/sops-nix/key.txt" "/etc/machine-id"];
|
||||
};
|
||||
# environment.persistence."/persist" = {
|
||||
# directories = ["/var/lib/nixos" "/var/lib/systemd/coredump"];
|
||||
# files = ["/var/lib/sops-nix/key.txt" "/etc/machine-id"];
|
||||
# };
|
||||
|
||||
boot.initrd.postResumeCommands =
|
||||
lib.mkAfter # sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue