Compare commits

..

No commits in common. "edae8a4deaa2f77935029ba9d62044c6f1a79094" and "68c7147fa79b70cca8c4b2cfd9e64765bd82f0a3" have entirely different histories.

9 changed files with 38 additions and 88 deletions

View file

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

View file

@ -1,19 +0,0 @@
{
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,8 +8,5 @@
./terminal ./terminal
./neovim.nix ./neovim.nix
./baseline.nix ./baseline.nix
./steam
./yubikey.nix
./browsers.nix
]; ];
} }

View file

@ -1,21 +0,0 @@
{
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
];
};
}

View file

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

View file

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

View file

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