refactor: biggest cleanup of my life
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
osConfig ? null,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
mkDefaultSharedAttrs = defaults: lib.mapAttrs (_: v: lib.mkDefault v) defaults;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
./fish.nix
|
||||
./nixvim
|
||||
./hyprland.nix
|
||||
./kitty.nix
|
||||
./rofi
|
||||
];
|
||||
|
||||
kekleo = lib.mkIf (osConfig != null) (mkDefaultSharedAttrs (osConfig.kekleo or { }));
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
Reference in New Issue
Block a user