35 lines
600 B
Nix
35 lines
600 B
Nix
{ inputs, den, ... }:
|
|
{
|
|
systems = [ "x86_64-linux" ];
|
|
|
|
den.ctx.default =
|
|
let
|
|
configState = "24.05";
|
|
in
|
|
{
|
|
nixos.system.stateVersion = configState;
|
|
homeManager.home.stateVersion = configState;
|
|
};
|
|
|
|
den.ctx.host = {
|
|
includes = [
|
|
den._.define-user
|
|
# Set all hostnames automatically
|
|
(
|
|
{ host, ... }:
|
|
{
|
|
nixos = {
|
|
networking.hostName = host.name;
|
|
};
|
|
}
|
|
)
|
|
];
|
|
|
|
nixos = {
|
|
users.mutableUsers = false;
|
|
};
|
|
};
|
|
|
|
den.ctx.hm-host.nixos.home-manager.useGlobalPkgs = true;
|
|
}
|