2024-09-03 11:47:25 -04:00
|
|
|
{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
|
2024-09-03 14:49:49 -04:00
|
|
|
./misc/emulators.nix
|
2024-09-03 11:47:25 -04:00
|
|
|
./misc/remotedesktop.nix
|
|
|
|
./misc/school.nix
|
|
|
|
./misc/variables.nix
|
|
|
|
|
|
|
|
# Services
|
|
|
|
./services/gnome-keyring.nix
|
|
|
|
./services/mako.nix
|
|
|
|
./services/udiskie.nix
|
|
|
|
];
|
|
|
|
|
2024-09-08 21:45:54 -04:00
|
|
|
# ZSH rebuild commands
|
2024-09-03 11:47:25 -04:00
|
|
|
programs.zsh = {
|
|
|
|
shellAliases = let
|
|
|
|
auth = import ./common/auth.nix;
|
2024-09-08 21:45:54 -04:00
|
|
|
hostname = "JimDeck";
|
2024-09-03 11:47:25 -04:00
|
|
|
in {
|
2024-09-09 01:06:30 -04:00
|
|
|
flakedate = "${auth.method} nix flake update /etc/nixos";
|
|
|
|
sysswitch = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#${hostname}";
|
|
|
|
homeswitch = "home-manager switch --flake /etc/nixos/.#jimbo@${hostname}";
|
|
|
|
nixdate = "flakedate; sysswitch; homeswitch; notify-send 'NixOS switch done.'";
|
2024-09-03 11:47:25 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|