Vast improvements to desktop experience
This commit is contained in:
+11
-4
@@ -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}";
|
||||
|
||||
Reference in New Issue
Block a user