Compare commits

...

7 commits

Author SHA1 Message Date
Fabian Montero edae8a4dea restructure apps config 2024-11-21 02:09:06 -06:00
Fabian Montero 2818223d9b remove vlc 2024-11-21 01:48:20 -06:00
Fabian Montero 50943bb142 modularize browsers 2024-11-21 01:47:28 -06:00
Fabian Montero f5cfd50183 modularize yubikey 2024-11-21 01:42:04 -06:00
Fabian Montero f577fd237d add basic cli packages to baseline 2024-11-21 00:38:11 -06:00
Fabian Montero 8b8aa68811
modularize steam 2024-11-20 23:36:53 -06:00
Fabian Montero a09e88cf3e
fix typo 2024-11-20 23:26:48 -06:00
9 changed files with 88 additions and 38 deletions

View file

@ -12,5 +12,19 @@ in {
};
config = mkIf cfg.enable {
xdg.enable = true;
home.packages = with pkgs; [
calc
file
git
htop
killall
man-pages
man-pages-posix
tree
units
unzip
zip
];
};
}

19
home/modules/browsers.nix Normal file
View file

@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.apps.browsers;
in {
options.local.apps.browsers = {
enable = mkEnableOption "Browser home settings";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
chromium
firefox
];
};
}

View file

@ -8,5 +8,8 @@
./terminal
./neovim.nix
./baseline.nix
./steam
./yubikey.nix
./browsers.nix
];
}

View file

@ -0,0 +1,21 @@
{
pkgs,
lib,
config,
...
}:
with lib; let
cfg = config.local.apps.steam;
in {
options.local.apps.steam = {
enable = mkEnableOption "Steam settings";
};
config = mkIf cfg.enable {
home.packages = [
(pkgs.callPackage ./package.nix {})
pkgs.protonup
pkgs.winetricks
pkgs.protontricks
];
};
}

20
home/modules/yubikey.nix Normal file
View file

@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.apps.yubikey;
in {
options.local.apps.yubikey = {
enable = mkEnableOption "Yubikey home settings";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
yubikey-manager
yubico-pam
yubikey-personalization
];
};
}

View file

@ -4,28 +4,27 @@
pkgs,
...
}: {
imports = [
./steam
];
local = {
baseline.enable = true;
apps = {
terminal.enable = true;
neovim.enable = true;
steam.enable = true;
yubikey.enable = true;
browsers.enable = true;
};
};
home.packages = with pkgs; [
calc
calibre
chromium
darktable
deluge
discord
file
firefox
gcc
gwenview
htop
killall
kdenlive
libreoffice-fresh
lutris
man-pages
man-pages-posix
mpv
obs-studio
openrct2
@ -36,18 +35,10 @@
runelite
spotify
tdesktop
tree
units
unzip
usbutils
virt-manager
vlc
vpsfree-client
vscodium-fhs
yubikey-manager
yubico-pam
yubikey-personalization
zip
zola
zoom-us
];

View file

@ -1,14 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib; {
home.packages = [
(pkgs.callPackage ./package.nix {})
pkgs.protonup
pkgs.winetricks
pkgs.protontricks
];
}

View file

@ -6,16 +6,12 @@
...
}: {
imports = [
./apps
./apps.nix
./systemd
./gui
./isolation.nix
];
local.baseline = true;
local.apps.terminal.enable = true;
local.apps.neovim.enable = true;
nix.registry = {
"system".to = {
type = "path";