Re-organize Nix Modules
- Move all programs into system folder - Create `default.nix` for each folder to reduce number of imports in configuration.nix - Rename some modules to be more generic and less package specific to allow for easy swapping of programs in the future - Update flake.lock
This commit is contained in:
@@ -6,18 +6,19 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
(../../hardware + "/${systemSettings.hardwareConfiguration}.nix")
|
||||
../../system/hardware/kernel.nix
|
||||
../../system/hardware/bluetooth.nix
|
||||
../../system/hardware/opengl.nix
|
||||
../../system/hardware/openrgb.nix
|
||||
../../system/hardware/printing.nix
|
||||
../../system/hardware/automount.nix
|
||||
../../system/security/firewall.nix
|
||||
../../system/app/gaming/steam.nix
|
||||
../../system/app/gaming/gamemode.nix
|
||||
../../system/hardware/audio.nix
|
||||
(../../system/gui + "/${systemSettings.desktopEnvironment}.nix")
|
||||
(../../hosts + "/${systemSettings.hardwareConfiguration}.nix")
|
||||
(../../system/gui + "/${userSettings.desktop}.nix")
|
||||
../../system/hardware/default.nix
|
||||
(../../system/programs/browser + "/${userSettings.browser}.nix")
|
||||
../../system/programs/development/default.nix
|
||||
../../system/programs/gaming/default.nix
|
||||
../../system/programs/launcher/default.nix
|
||||
../../system/programs/media/default.nix
|
||||
../../system/programs/productivity/default.nix
|
||||
(../../system/programs/terminal + "/${userSettings.term}.nix")
|
||||
../../system/programs/utilities/default.nix
|
||||
../../system/security/default.nix
|
||||
../../system/util/default.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
|
@@ -10,63 +10,8 @@
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.packages = (with pkgs; [
|
||||
# Terminal
|
||||
kitty
|
||||
|
||||
# Browser
|
||||
vivaldi
|
||||
|
||||
# Launcher
|
||||
dmenu
|
||||
rofi
|
||||
|
||||
# Development
|
||||
vscode
|
||||
|
||||
# Utilities
|
||||
syncthing
|
||||
bitwarden
|
||||
ventoy
|
||||
via
|
||||
prusa-slicer
|
||||
|
||||
# Office
|
||||
xournalpp
|
||||
gimp
|
||||
gnucash
|
||||
|
||||
# Gaming
|
||||
wine
|
||||
bottles
|
||||
lutris
|
||||
protonup-qt
|
||||
|
||||
# Media
|
||||
gimp
|
||||
mpv
|
||||
blender
|
||||
obs-studio
|
||||
ffmpeg
|
||||
trackma-gtk
|
||||
|
||||
# Messaging
|
||||
beeper
|
||||
discord
|
||||
signal-desktop
|
||||
zoom-us
|
||||
|
||||
# Productivity
|
||||
anytype
|
||||
logseq
|
||||
|
||||
# Music / Podcasts
|
||||
pocket-casts
|
||||
spotify
|
||||
spicetify-cli
|
||||
]);
|
||||
|
||||
services.syncthing.enable = true;
|
||||
|
||||
xdg.enable = true;
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
|
Reference in New Issue
Block a user