add conifer host (desktop wsl)

This commit is contained in:
xunuwu 2025-07-04 06:07:03 +02:00
parent 8310a093e5
commit 3b5e4489a4
Signed by: xun
SSH key fingerprint: SHA256:vVkcg/JhxJ8bhD+XdjfwP9m9m9+1+41rvl8St1Rj+Sw
6 changed files with 185 additions and 14 deletions

54
hosts/conifer/default.nix Normal file
View file

@ -0,0 +1,54 @@
{
lib,
pkgs,
inputs,
systemProfiles,
specialArgs,
...
}: {
imports =
[
./hardware.nix
inputs.impermanence.nixosModules.impermanence
{
home-manager = {
backupFileExtension = "hm-backup";
users.xun.imports = [
./home.nix
{home.stateVersion = "25.05";}
];
extraSpecialArgs = specialArgs;
};
}
]
++ (with systemProfiles; [
core.security
core.users
core.locale
core.tools
core.compat
programs.fish
nix.nix
nix.gc
hardware.graphics
hardware.bluetooth
services.flatpak
services.xdg-portals
network.avahi
programs.home-manager
programs.tools
]);
environment.persistence."/persist".enable = false;
networking.hostName = "conifer";
system.stateVersion = "25.05";
}