62 lines
1.4 KiB
Nix
62 lines
1.4 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/production.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/.#JimDeck";
|
|
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimDeck";
|
|
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
|
|
};
|
|
};
|
|
|
|
# Symlinks
|
|
home.file = {
|
|
"VMs" = {
|
|
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
|
|
};
|
|
};
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
home.stateVersion = "24.05";
|
|
}
|