2024-08-24 22:16:51 -04:00
|
|
|
{config, ...}: {
|
|
|
|
imports = [
|
|
|
|
# Common modules
|
|
|
|
./home.nix
|
|
|
|
./users/jimbo.nix
|
2024-08-27 15:17:32 -04:00
|
|
|
./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
|
2024-08-29 02:38:42 -04:00
|
|
|
./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
|
|
|
|
|
2024-08-26 19:43:59 -04:00
|
|
|
# Misc apps and tools
|
2024-08-24 22:16:51 -04:00
|
|
|
./misc/useful.nix
|
|
|
|
./misc/avtools.nix
|
|
|
|
./misc/filemanager.nix
|
|
|
|
./misc/production.nix
|
2024-08-26 21:28:40 -04:00
|
|
|
./misc/gaming.nix
|
2024-08-27 14:08:39 -04:00
|
|
|
./misc/xash3d.nix
|
2024-08-24 22:16:51 -04:00
|
|
|
#./misc/emulators.nix
|
2024-08-26 21:28:40 -04:00
|
|
|
#./misc/remotedesktop.nix
|
2024-08-24 22:16:51 -04:00
|
|
|
./misc/school.nix
|
2024-08-26 21:28:40 -04:00
|
|
|
./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}";
|
2024-08-29 03:13:41 -04:00
|
|
|
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
|
2024-08-24 22:16:51 -04:00
|
|
|
};
|
|
|
|
};
|
2024-09-03 14:15:33 -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
|
|
|
}
|