NixOS-Config/home-manager/jimbo_desktop.nix

61 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
2024-09-03 18:59:24 -04:00
./sway/swaylock.nix
./guiapps/gtk.nix
2024-08-24 22:16:51 -04:00
./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
# Services
./services/gnome-keyring.nix
./services/mako.nix
./services/udiskie.nix
];
2024-09-08 21:45:54 -04:00
# ZSH rebuild commands
2024-08-24 22:16:51 -04:00
programs.zsh = {
shellAliases = let
auth = import ./common/auth.nix;
2024-09-08 21:45:54 -04:00
hostname = "JimDesktop";
2024-08-24 22:16:51 -04:00
in {
2024-09-08 21:45:54 -04:00
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#${hostname}";
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@${hostname}";
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
2024-08-24 22:16:51 -04:00
};
};
2024-09-03 14:49:49 -04:00
# Symlinks
home.file = {
"VMs" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
};
};
2024-08-24 22:16:51 -04:00
}