NixOS-Config/home-manager/jimbo_desktop.nix

64 lines
1.3 KiB
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{config, ...}: {
imports = [
# Common modules
./home.nix
./users/jimbo.nix
./tuiapps/git.nix
2024-08-24 22:16:51 -04:00
# GUI Apps
./misc/guifiles.nix
./sway/sway.nix
./guiapps/foot.nix
./guiapps/librewolf.nix
./guiapps/mangohud.nix
./guiapps/mpv.nix
./guiapps/obs.nix
./guiapps/pcmanfm-qt.nix
./guiapps/rofi.nix
./guiapps/swappy.nix
./guiapps/easyeffects.nix
./tuiapps/ncmpcpp.nix
# Misc apps and tools
2024-08-24 22:16:51 -04:00
./misc/useful.nix
./misc/avtools.nix
./misc/filemanager.nix
./misc/production.nix
./misc/gaming.nix
./misc/xash3d.nix
2024-08-24 22:16:51 -04:00
#./misc/emulators.nix
#./misc/remotedesktop.nix
2024-08-24 22:16:51 -04:00
./misc/school.nix
./misc/variables.nix
2024-08-24 22:16:51 -04:00
# Theming
./style/gtk.nix
./style/qt.nix
# Services
./services/gnome-keyring.nix
./services/mako.nix
./services/udiskie.nix
];
# Rebuild this entire system
programs.zsh = {
shellAliases = let
auth = import ./common/auth.nix;
in {
nixdate = ''
${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimDesktop;
home-manager switch --flake /etc/nixos/.#jimbo@JimDesktop;
2024-08-24 22:16:51 -04:00
notify-send "NixOS switch finished."
'';
};
};
# Symlinks
home.file = {
"VMs" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
};
};
}