This commit is contained in:
Lilith 2026-01-02 21:47:00 +01:00
parent d5f21454a0
commit 22e1f50083
No known key found for this signature in database
GPG key ID: 272C807BD91F8446
5 changed files with 72 additions and 45 deletions

View file

@ -1,4 +1,9 @@
{ home-manager, specialArgs, ... }: {
home-manager,
specialArgs,
config,
...
}:
{ {
imports = [ home-manager.nixosModules.home-manager ]; imports = [ home-manager.nixosModules.home-manager ];
@ -11,5 +16,7 @@
home.username = "lilith"; home.username = "lilith";
home.stateVersion = "24.11"; home.stateVersion = "24.11";
}; };
home-manager.extraSpecialArgs = specialArgs; home-manager.extraSpecialArgs = specialArgs // {
systemConfig = config;
};
} }

View file

@ -1,42 +1,46 @@
{ sops-nix, ... }: {
systemConfig,
lib,
sops-nix,
...
}:
{ {
imports = [ imports = [
sops-nix.homeManagerModules.sops sops-nix.homeManagerModules.sops
./hyprland
./rofi.nix
./dunst.nix
./hyprpanel.nix
./env.nix ./env.nix
#zen-browser (WIP)
./firefox
./alacritty.nix
./clipman.nix
./input.nix
./starship.nix ./starship.nix
./fish.nix ./fish.nix
./common.nix ./common.nix
./direnv.nix ./direnv.nix
# ./firefox.nix
./fzf.nix ./fzf.nix
./git.nix ./git.nix
./gpg.nix ./gpg.nix
./helix.nix ./helix.nix
./packages.nix ./packages.nix
./playerctld.nix
./sops.nix ./sops.nix
./ssh.nix ./ssh.nix
./stylix.nix
./thunderbird.nix
./messaging.nix
./zsh ./zsh
./nushell.nix ./nushell.nix
./hyfetch.nix ./hyfetch.nix
]
++ lib.optionals systemConfig.desktop.enable [
./stylix.nix
./hyprland
./rofi.nix
./dunst.nix
./hyprpanel.nix
./firefox
./alacritty.nix
./clipman.nix
./input.nix
./playerctld.nix
./thunderbird.nix
./messaging.nix
]; ];
} }

View file

@ -1,36 +1,52 @@
{ pkgs, rose-pine-hyprcursor, ... }:
{ {
home.packages = with pkgs; [ systemConfig,
rose-pine-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default lib,
pkgs,
rose-pine-hyprcursor,
...
}:
let
common = with pkgs; [
gcc gcc
gnumake gnumake
git git
libsecret libsecret
nh
btop
htop
grc
nix-output-monitor
nvd
unzip
yazi
bluez
upower
libgtop
gvfs
gtksourceview3
libsoup_3
];
desktop = with pkgs; [
rose-pine-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default
pulsemixer pulsemixer
pavucontrol pavucontrol
playerctl playerctl
blueman blueman
networkmanagerapplet networkmanagerapplet
nh
wl-clipboard wl-clipboard
clipse clipse
xdg-utils xdg-utils
hyprshot hyprshot
upower
libgtop
gvfs
bluez
gtksourceview3
libsoup_3
vlc vlc
obs-studio obs-studio
keepassxc keepassxc
ncspot
signal-desktop-bin signal-desktop-bin
telegram-desktop telegram-desktop
@ -41,17 +57,17 @@
inkscape inkscape
libreoffice libreoffice
btop ueberzugpp
htop ];
grc
nix-output-monitor
nvd
gaming = with pkgs; [
prismlauncher prismlauncher
lutris lutris
unzip
ueberzugpp
yazi
]; ];
in
{
home.packages =
common
++ lib.optionals systemConfig.desktop.enable desktop
++ lib.optionals systemConfig.gaming.enable gaming;
} }

View file

@ -1,6 +1,6 @@
{ ... }: { systemConfig, lib, ... }:
{ {
stylix.targets = { stylix.targets = lib.mkIf systemConfig.auto_styling.enable {
firefox.enable = true; firefox.enable = true;
zen-browser.profileNames = [ "lilith" ]; zen-browser.profileNames = [ "lilith" ];
}; };

View file

@ -5,7 +5,7 @@ in
{ {
system.stateVersion = "24.05"; system.stateVersion = "24.05";
nfs.host.enable = true; server.nfs.enable = true;
hardware.nvidia = { hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.stable;