refactor: move state migration to pre-flight, fix XDG hardcoding, and prevent Nix store bloat
This commit is contained in:
@@ -32,9 +32,9 @@ in
|
||||
./swayosd.nix
|
||||
];
|
||||
|
||||
colorScheme = palettes.${config.nomarchy.theme} or palettes.nord;
|
||||
colorScheme = lib.mkDefault (palettes.${config.nomarchy.theme} or palettes.nord);
|
||||
|
||||
home.packages = with pkgs; [
|
||||
home.packages = lib.mkDefault (with pkgs; [
|
||||
firefox
|
||||
xfce.thunar
|
||||
imv
|
||||
@@ -55,10 +55,10 @@ in
|
||||
nerd-fonts.roboto-mono
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.ubuntu-mono
|
||||
] ++ userPackages;
|
||||
] ++ userPackages);
|
||||
|
||||
home.shellAliases = {
|
||||
home.shellAliases = lib.mkDefault {
|
||||
sys-update = "sudo nixos-rebuild switch --flake /etc/nixos#default --impure";
|
||||
env-update = "home-manager switch --flake /etc/nixos#default --impure";
|
||||
env-update = "nomarchy-preflight-migration && home-manager switch --flake /etc/nixos#default --impure";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user