NixOS-Config/home-manager/jimbo_deck.nix
2024-09-03 11:47:25 -04:00

58 lines
1.3 KiB
Nix

{config, ...}: {
imports = [
# Common modules
./home.nix
./users/jimbo.nix
./tuiapps/git.nix
# GUI Apps
./misc/guifiles.nix
./sway/sway.nix
./guiapps/gtk.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
./misc/useful.nix
./misc/avtools.nix
./misc/filemanager.nix
./misc/gaming.nix
./misc/xash3d.nix
./misc/emulators.nix
./misc/remotedesktop.nix
./misc/school.nix
./misc/variables.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 {
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimDesktop";
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimDesktop";
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
};
};
# Symlinks
home.file = {
"VMs" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
};
};
}