blob: fe9eee0e679f713503ff9f408d0aa1f4d49ac86c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
description = "NixOS Flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
helix.url = "github:helix-editor/helix/master";
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, update-systemd-resolved, ... }@inputs:
utils.lib.mkFlake {
inherit self inputs;
channelsConfig.allowUnfree = true;
hostDefaults.modules = [
home-manager.nixosModules.home-manager
agenix.nixosModules.default
./config/shared.nix
./config/agenix.nix
];
hosts.work.modules = [
update-systemd-resolved.nixosModules.update-systemd-resolved
./hosts/work.nix
];
hosts.tarrel.modules = [./hosts/tarrel.nix];
};
}
|