refactor
This commit is contained in:
parent
d5f21454a0
commit
22e1f50083
5 changed files with 72 additions and 45 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ home-manager, specialArgs, ... }:
|
||||
{
|
||||
home-manager,
|
||||
specialArgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ home-manager.nixosModules.home-manager ];
|
||||
|
||||
|
|
@ -11,5 +16,7 @@
|
|||
home.username = "lilith";
|
||||
home.stateVersion = "24.11";
|
||||
};
|
||||
home-manager.extraSpecialArgs = specialArgs;
|
||||
home-manager.extraSpecialArgs = specialArgs // {
|
||||
systemConfig = config;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,42 +1,46 @@
|
|||
{ sops-nix, ... }:
|
||||
{
|
||||
systemConfig,
|
||||
lib,
|
||||
sops-nix,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
sops-nix.homeManagerModules.sops
|
||||
|
||||
./hyprland
|
||||
./rofi.nix
|
||||
./dunst.nix
|
||||
./hyprpanel.nix
|
||||
|
||||
./env.nix
|
||||
|
||||
#zen-browser (WIP)
|
||||
./firefox
|
||||
|
||||
./alacritty.nix
|
||||
./clipman.nix
|
||||
./input.nix
|
||||
./starship.nix
|
||||
|
||||
./fish.nix
|
||||
|
||||
./common.nix
|
||||
./direnv.nix
|
||||
# ./firefox.nix
|
||||
./fzf.nix
|
||||
./git.nix
|
||||
./gpg.nix
|
||||
./helix.nix
|
||||
./packages.nix
|
||||
./playerctld.nix
|
||||
./sops.nix
|
||||
./ssh.nix
|
||||
./stylix.nix
|
||||
./thunderbird.nix
|
||||
./messaging.nix
|
||||
|
||||
./zsh
|
||||
./nushell.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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,36 +1,52 @@
|
|||
{ pkgs, rose-pine-hyprcursor, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
rose-pine-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
|
||||
systemConfig,
|
||||
lib,
|
||||
pkgs,
|
||||
rose-pine-hyprcursor,
|
||||
...
|
||||
}:
|
||||
let
|
||||
common = with pkgs; [
|
||||
gcc
|
||||
gnumake
|
||||
git
|
||||
|
||||
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
|
||||
pavucontrol
|
||||
playerctl
|
||||
blueman
|
||||
networkmanagerapplet
|
||||
nh
|
||||
|
||||
wl-clipboard
|
||||
clipse
|
||||
xdg-utils
|
||||
hyprshot
|
||||
|
||||
upower
|
||||
libgtop
|
||||
gvfs
|
||||
bluez
|
||||
gtksourceview3
|
||||
libsoup_3
|
||||
|
||||
vlc
|
||||
obs-studio
|
||||
keepassxc
|
||||
ncspot
|
||||
signal-desktop-bin
|
||||
telegram-desktop
|
||||
|
||||
|
|
@ -41,17 +57,17 @@
|
|||
inkscape
|
||||
libreoffice
|
||||
|
||||
btop
|
||||
htop
|
||||
grc
|
||||
nix-output-monitor
|
||||
nvd
|
||||
ueberzugpp
|
||||
];
|
||||
|
||||
gaming = with pkgs; [
|
||||
prismlauncher
|
||||
lutris
|
||||
|
||||
unzip
|
||||
ueberzugpp
|
||||
yazi
|
||||
];
|
||||
in
|
||||
{
|
||||
home.packages =
|
||||
common
|
||||
++ lib.optionals systemConfig.desktop.enable desktop
|
||||
++ lib.optionals systemConfig.gaming.enable gaming;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ ... }:
|
||||
{ systemConfig, lib, ... }:
|
||||
{
|
||||
stylix.targets = {
|
||||
stylix.targets = lib.mkIf systemConfig.auto_styling.enable {
|
||||
firefox.enable = true;
|
||||
zen-browser.profileNames = [ "lilith" ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ in
|
|||
{
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
nfs.host.enable = true;
|
||||
server.nfs.enable = true;
|
||||
|
||||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue