Separate System and User packages

- Move user programs out of systems section and int
  user section
- Install user packages with home manager rather than
  system wide
This commit is contained in:
Sravan Balaji
2024-03-27 16:27:20 -04:00
parent 59f88dad0f
commit 7f320b85d4
43 changed files with 120 additions and 107 deletions

7
user/browser/vivaldi.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
vivaldi
]);
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [
./vscode.nix
];
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
vscode
]);
}

View File

@@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
wine
protonup-qt
]);
}

9
user/gaming/default.nix Normal file
View File

@@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
imports = [
./utilities.nix
./launchers.nix
./compatibility.nix
];
}

16
user/gaming/launchers.nix Normal file
View File

@@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = true;
};
home.packages = (with pkgs; [
bottles
lutris
heroic
prismlauncher
]);
}

15
user/gaming/utilities.nix Normal file
View File

@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
programs.gamemode = {
enable = true;
# settings = {};
# enableRenice = true;
};
home.packages = (with pkgs; [
mangohud
goverlay
vkbasalt
]);
}

View File

@@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
{
imports = [
./dmenu.nix
./rofi.nix
];
}

7
user/launcher/dmenu.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
dmenu
]);
}

7
user/launcher/rofi.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
rofi
]);
}

8
user/media/creation.nix Normal file
View File

@@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
blender
obs-studio
]);
}

9
user/media/default.nix Normal file
View File

@@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
imports = [
./players.nix
./editors.nix
./creation.nix
];
}

9
user/media/editors.nix Normal file
View File

@@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
gimp
libsForQt5.kdenlive
ffmpeg
]);
}

12
user/media/players.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
gnome.eog
mpv
trackma-gtk
pocket-casts
spotify
spicetify-cli
]);
}

View File

@@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
beeper
discord
signal-desktop
zoom-us
]);
}

View File

@@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
imports = [
./office.nix
./finance.nix
./notes.nix
./communication.nix
];
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
gnucash
]);
}

View File

@@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
anytype
logseq
]);
}

View File

@@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
onlyoffice-bin
xournalpp
zathura
libsForQt5.okular
]);
}

7
user/terminal/kitty.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
kitty
]);
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
prusa-slicer
]);
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
ventoy
]);
}

View File

@@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
imports = [
./3d-printing.nix
./bootable-media.nix
./file-syncing.nix
./keyboard-configuration.nix
./passwords.nix
];
}

View File

@@ -0,0 +1,5 @@
{ config, lib, pkgs, ... }:
{
services.syncthing.enable = true;
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
via
]);
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
bitwarden
]);
}