laptop config has now integrated the module refactoring. Also updated flake.lock and fixed missing git aliases from previous commit
This commit is contained in:
@@ -27,6 +27,13 @@
|
||||
svcu = "systemctl --user";
|
||||
svc = "sudo systemctl";
|
||||
viflake = "nvim flake.nix";
|
||||
|
||||
#git
|
||||
"ga" = "playshellsound ${self}/assets/sound/gitadd.wav; git add";
|
||||
gcomm = "gitcommit_sfx";
|
||||
gpush = "gitpush_sfx";
|
||||
gpull = "gitpull_sfx";
|
||||
greb = "gitrebase_sfx";
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
|
||||
@@ -6,18 +6,13 @@
|
||||
username,
|
||||
host,
|
||||
...
|
||||
}: let
|
||||
desktop = host == "oganesson";
|
||||
desktop_modules =
|
||||
if desktop
|
||||
then [(import ./virtualization.nix)] ++ [(import ./gaming)]
|
||||
else [];
|
||||
in {
|
||||
}: {
|
||||
imports =
|
||||
[(import ./packages.nix)]
|
||||
++ [(import ./programs.nix)]
|
||||
++ [(import ./services.nix)]
|
||||
++ [(import ./nixvim)]
|
||||
++ [(import ./module-test.nix)]
|
||||
++ desktop_modules;
|
||||
++ [(import ./virtualization.nix)]
|
||||
++ [(import ./gaming)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user