Files
nixos/home/home.nix
T
Greg Hellings cc98e529f5 Update Firefox and stateVersion
Set home-manager stateVersion to 21.11
Move to newer method of integrating Firefox with Gnome
Add tree-style-tab plugin for Firefox
2022-05-23 23:58:40 -05:00

23 lines
375 B
Nix

name: { pkgs, lib, nixosConfig, ...}:
let
guiImports = if nixosConfig.greg.gnome.enable then
[ ./gui ] else [];
in {
imports = [
./modules
./bash.nix
./direnv.nix
./git.nix
./ssh.nix
./vim.nix
./xonsh.nix
] ++ guiImports;
home.username = name;
home.homeDirectory = if name == "root" then "/root" else "/home/${name}";
home.stateVersion = "21.11";
}