Vast improvements to desktop experience

This commit is contained in:
Greg Hellings
2022-05-04 13:57:19 -05:00
parent 11a8eab867
commit 1c19e5300d
18 changed files with 370 additions and 141 deletions
+11 -4
View File
@@ -1,12 +1,19 @@
name: { pkgs, lib, ...}:
name: { pkgs, lib, nixosConfig, ...}:
{
let
guiImports = if nixosConfig.greg.gnome.enable then
[ ./gui ] else [];
in {
imports = [
./modules
./bash.nix
./git.nix
./vim.nix
./ssh.nix
];
./vim.nix
./xonsh.nix
] ++ guiImports;
home.username = name;
home.homeDirectory = if name == "root" then "/root" else "/home/${name}";