restructure

This commit is contained in:
2026-04-22 13:27:21 -05:00
parent 06385f94f6
commit e950b4c162
34 changed files with 112 additions and 253 deletions

View File

@@ -1,19 +1,6 @@
{ inputs, ... }: {
{ ... }: {
flake.homeModules.nathan = { config, lib, pkgs, ... }: let
system = pkgs.stdenv.hostPlatform;
pkgs-us = import inputs.nixpkgs-us {
inherit system;
config.allowUnfree = true;
};
in {
options.homeconfig.minimal = with lib; options.mkOption {
type = with types; bool;
default = false;
};
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
config = with lib; mkMerge [
{
@@ -41,11 +28,27 @@
pyusb
requests
]))
cava
android-tools
neovim-remote
zulu
fastfetch
ncmpcpp
playerctl
mpc
ffmpeg
];
}
(mkIf config.homeconfig.graphical {
(mkIf config.wayland.windowManager.hyprland.enable {
nixpkgs.config = {
allowUnfree = true;
};
home.packages = with pkgs; [
grim
@@ -53,30 +56,6 @@
wl-clipboard
xfce.thunar
blueberry
];
})
(mkIf (!config.homeconfig.minimal) {
home.packages = with pkgs; [
cava
android-tools
neovim-remote
zulu
fastfetch
ncmpcpp
playerctl
mpc
ffmpeg
];
})
(mkIf (!config.homeconfig.minimal && config.homeconfig.graphical) {
nixpkgs.config = {
allowUnfree = true;
};
home.packages = with pkgs; [
handbrake
quickemu
@@ -111,7 +90,7 @@
#games
prismlauncher
];
})
})
];
};
}