diff --git a/flake.lock b/flake.lock index 95701c8..53e7394 100644 --- a/flake.lock +++ b/flake.lock @@ -31,11 +31,11 @@ ] }, "locked": { - "lastModified": 1687304097, - "narHash": "sha256-VId0oZxpYm4HSHwbsuGKI84zFkL6Gp4wuoJbbl52oZg=", + "lastModified": 1692783612, + "narHash": "sha256-Mz1xv45Rjzet1D2bMGKapgw1JCHaD60dBs4sE6Dz2+A=", "owner": "oddlama", "repo": "agenix-rekey", - "rev": "b1811920562ba287b680f35644ce3ed78d029cdf", + "rev": "52695865488742e0b34a56111cd40e229b3ab90a", "type": "github" }, "original": { @@ -101,11 +101,11 @@ ] }, "locked": { - "lastModified": 1688380630, - "narHash": "sha256-8ilApWVb1mAi4439zS3iFeIT0ODlbrifm/fegWwgHjA=", + "lastModified": 1692793255, + "narHash": "sha256-yVyj0AE280JkccDHuG1XO9oGxN6bW8ksr/xttXcXzK0=", "owner": "numtide", "repo": "devshell", - "rev": "f9238ec3d75cefbb2b42a44948c4e8fb1ae9a205", + "rev": "2aa26972b951bc05c3632d4e5ae683cb6771a7c6", "type": "github" }, "original": { @@ -121,11 +121,11 @@ ] }, "locked": { - "lastModified": 1693189188, - "narHash": "sha256-o6otfsB/ecudboYFwiCeL49BX3/8vRC/XUZTgkaDx54=", + "lastModified": 1693649688, + "narHash": "sha256-V5VDH693G7dXDHEwY82Fq6JrBZCdPpFk4erCK0SwjX0=", "owner": "nix-community", "repo": "disko", - "rev": "00169fe4a6015a88c3799f0bf89689e06a4d4896", + "rev": "dd5cdd852cc25092ebb29b598f7af037aab393f3", "type": "github" }, "original": { @@ -173,11 +173,11 @@ ] }, "locked": { - "lastModified": 1689068808, - "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", + "lastModified": 1692799911, + "narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=", "owner": "numtide", "repo": "flake-utils", - "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", + "rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44", "type": "github" }, "original": { @@ -214,11 +214,11 @@ ] }, "locked": { - "lastModified": 1690476848, - "narHash": "sha256-PSmzyuEbMxEn2uwwLYUN2l1psoJXb7jm/kfHD12Sq0k=", + "lastModified": 1693646047, + "narHash": "sha256-VsuXtCGOhrzp1qb1CSoV/cO+5f+GPtA4J/SFYqqLyfo=", "owner": "nix-community", "repo": "home-manager", - "rev": "8d243f7da13d6ee32f722a3f1afeced150b6d4da", + "rev": "fae8af43e201a8929ce45a5ea46192bbd1ffff18", "type": "github" }, "original": { @@ -229,11 +229,11 @@ }, "impermanence": { "locked": { - "lastModified": 1684264534, - "narHash": "sha256-K0zr+ry3FwIo3rN2U/VWAkCJSgBslBisvfRIPwMbuCQ=", + "lastModified": 1690797372, + "narHash": "sha256-GImz19e33SeVcIvBB7NnhbJSbTpFFmNtWLh7Z85Y188=", "owner": "nix-community", "repo": "impermanence", - "rev": "89253fb1518063556edd5e54509c30ac3089d5e6", + "rev": "e3a7acd113903269a1b5c8b527e84ce7ee859851", "type": "github" }, "original": { @@ -280,11 +280,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1690200740, - "narHash": "sha256-aRkEXGmCbAGcvDcdh/HB3YN+EvoPoxmJMOaqRZmf6vM=", + "lastModified": 1693588489, + "narHash": "sha256-hUGiONyurfBxmTtRUttdlkdq+ml16L1MiKKAS1047OE=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "ba9650b14e83b365fb9e731f7d7c803f22d2aecf", + "rev": "fe0ea731b84b10143fc68cd557368ac70f0fb65c", "type": "github" }, "original": { @@ -295,11 +295,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1690367991, - "narHash": "sha256-2VwOn1l8y6+cu7zjNE8MgeGJNNz1eat1HwHrINeogFA=", + "lastModified": 1693565476, + "narHash": "sha256-ya00zHt7YbPo3ve/wNZ/6nts61xt7wK/APa6aZAfey0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9cf0708f00fbe553319258e48ca89ff9a413703", + "rev": "aa8aa7e2ea35ce655297e8322dc82bf77a31d04b", "type": "github" }, "original": { @@ -338,11 +338,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1690464206, - "narHash": "sha256-38V4kmOh6ikpfGiAS+Kt2H/TA2DubSqE66veP/jmB4Q=", + "lastModified": 1692274144, + "narHash": "sha256-BxTQuRUANQ81u8DJznQyPmRsg63t4Yc+0kcyq6OLz8s=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "9289996dcac62fd45836db7c07b87d2521eb526d", + "rev": "7e3517c03d46159fdbf8c0e5c97f82d5d4b0c8fa", "type": "github" }, "original": { diff --git a/modules/config/home-manager.nix b/modules/config/home-manager.nix index 8d20c06..8ef9e88 100644 --- a/modules/config/home-manager.nix +++ b/modules/config/home-manager.nix @@ -1,4 +1,8 @@ -{stateVersion, ...}: { +{ + stateVersion, + config, + ... +}: { home-manager = { useGlobalPkgs = true; useUserPackages = true; @@ -8,6 +12,9 @@ home.stateVersion = stateVersion; } ]; + extraSpecialArgs = { + nixosConfig = config; + }; }; # HM zsh needs this or else the startup order is fucked # and env variables will be loaded incorrectly diff --git a/modules/config/net.nix b/modules/config/net.nix index 2a54c7c..285a1db 100644 --- a/modules/config/net.nix +++ b/modules/config/net.nix @@ -11,8 +11,12 @@ }; services.resolved = { enable = true; - # man i whish dnssec would be viable to use + # man I whish dnssec would be viable to use dnssec = "allow-downgrade"; - llmnr = "true"; + llmnr = "false"; + extraConfig = '' + Domains=~. + MulticastDNS=true + ''; }; } diff --git a/nix/devshell.nix b/nix/devshell.nix index 389762c..b291a97 100644 --- a/nix/devshell.nix +++ b/nix/devshell.nix @@ -25,6 +25,7 @@ in shellcheck pre-commit rage + nix ]; commands = with pkgs; [ { @@ -54,16 +55,7 @@ in # Daher der folgenda hack um zu verhindern das mein NixOS mit einer anderen nix version gebaut wird # als der intendeten value = '' - plugin-files = ${(pkgs.nix-plugins.override {inherit (pkgs) nix;}).overrideAttrs rec { - version = "10.0.0"; - - src = pkgs.fetchFromGitHub { - owner = "shlevy"; - repo = "nix-plugins"; - rev = version; - hash = "sha256-7Lo+YxpiRz0+ZLFDvYMJWWK2j0CyPDRoP1wAc+OaPJY="; - }; - }}/lib/nix/plugins + plugin-files = ${pkgs.nix-plugins}/lib/nix/plugins extra-builtins-file = ${../nix}/extra-builtins.nix ''; }