summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 8c4742b..fe9eee0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,9 +9,11 @@
hyprland.url = "github:hyprwm/Hyprland";
utils.url = "github:gytis-ivaskevicius/flake-utils-plus";
agenix.url = "github:ryantm/agenix";
+ update-systemd-resolved.url = "github:jonathanio/update-systemd-resolved";
+ update-systemd-resolved.inputs.nixpkgs.follows = "nixpkgs";
};
- outputs = { self, nixpkgs, utils, home-manager, helix, hyprland, agenix, ... }@inputs:
+ outputs = { self, nixpkgs, utils, home-manager, helix, hyprland, agenix, update-systemd-resolved, ... }@inputs:
utils.lib.mkFlake {
inherit self inputs;
@@ -25,7 +27,10 @@
./config/agenix.nix
];
- hosts.work.modules = [./hosts/work.nix];
+ hosts.work.modules = [
+ update-systemd-resolved.nixosModules.update-systemd-resolved
+ ./hosts/work.nix
+ ];
hosts.tarrel.modules = [./hosts/tarrel.nix];
};
}