Optimized some specialArgs and module argument use

This commit is contained in:
Emmet 2024-01-18 15:36:52 -06:00
parent 2d75530b6d
commit 18c8365f40
76 changed files with 282 additions and 284 deletions

View file

@ -2,13 +2,12 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, lib, pkgs, blocklist-hosts, username, name, hostname, timezone, locale, wm, theme, ... }:
{ ... }:
{
imports =
[ ../work/configuration.nix # Personal is essentially work system + games
../../system/hardware-configuration.nix
#../../system/hardware/openrgb.nix
( import ../../system/app/docker.nix {storageDriver = "btrfs"; inherit username pkgs config lib;} )
../../system/app/gamemode.nix
../../system/app/steam.nix
../../system/app/prismlauncher.nix

View file

@ -1,10 +1,10 @@
{ config, lib, pkgs, nix-doom-emacs, stylix, username, email, dotfilesDir, theme, wm, browser, editor, spawnEditor, term, ... }:
{ config, pkgs, userSettings, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = username;
home.homeDirectory = "/home/"+username;
home.username = userSettings.username;
home.homeDirectory = "/home/"+userSettings.username;
programs.home-manager.enable = true;