summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2024-11-14 20:47:03 +0100
committerJasper Ras <jras@hostnet.nl>2024-11-14 20:47:03 +0100
commit3431a4b4dfbfdcdc83610126a5dc495bebc92b7e (patch)
treed8ca248547e6a5bcf310a035ead7a87212dd8819 /flake.nix
parentcef48a3a23b75d5cfb945912bd6609e8212b0d14 (diff)
add update-systemd-resolved
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];
};
}