Refactored file structure to make more sense, made default.nixes less verbose

This commit is contained in:
pagedmov
2024-10-18 19:13:12 -04:00
parent c21c929a10
commit 860bcb3bc6
44 changed files with 618 additions and 287 deletions

View File

@@ -0,0 +1,31 @@
{
host,
nur,
nixvim,
self,
inputs,
username,
config,
home-manager,
...
}: let
desktop_modules =
if (host == "onagesson")
then [(import ./gaming)]
else [];
in {
imports =
[(import ./btop.nix)]
++ [(import ./yazi.nix)]
++ [(import ./kitty.nix)]
++ [(import ./fuzzel.nix)]
++ [(import ./eza.nix)]
++ [(import ./cava.nix)]
++ [(import ./bat.nix)]
++ [(import ./fzf.nix)]
++ [(import ./git.nix)]
++ [(import ./password-store.nix)]
++ [(import ./autojump.nix)]
++ [(import ./firefox.nix)]
++ desktop_modules;
}

View File

@@ -0,0 +1,7 @@
{ ... }:
{
imports =
[(import ./steam.nix)]
++ [(import ./gaming_pkgs.nix)];
}

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
snes9x-gtk
];
}