snowfall migration wip homepc done

This commit is contained in:
Aleksandr Lebedev 2025-08-09 17:07:55 +02:00
parent ed08a98651
commit 25774148e4
37 changed files with 1943 additions and 1447 deletions

View file

@ -0,0 +1,44 @@
{
lib,
pkgs,
config,
osConfig ? {},
...
}: let
name = config.snowfallorg.user.name;
home = config.snowfallorg.user.home.directory;
in
with lib;
with lib.custom; {
imports = lib.snowfall.fs.get-non-default-nix-files-recursive ./.;
custom = {
programs = {
fastfetch = {
enable = true;
firstNixOSInstall = 1729112485;
};
librewolf = enabled;
prismlauncher.enable = osConfig.custom.presets.gaming.enable;
bottles = enabled;
};
};
home = {
packages = with pkgs; [
gdb
element-desktop
obs-studio
neovim
localsend
kdePackages.kdenlive
] ++ lib.optionals osConfig.custom.presets.gaming.enable [mcpelauncher-ui-qt];
sessionVariables = {
EDITOR = "emacsclient -c";
NH_OS_FLAKE = "${home}/nixos-config";
NH_HOME_FLAKE = "${home}/nixos-config";
NH_DARWIN_FLAKE = "${home}/nixos-config";
};
stateVersion = "25.05";
};
}