marleyos/home/default.nix

75 lines
1.5 KiB
Nix
Raw Normal View History

{
pkgs,
# nixgl,
...
}:
{
home.username = "marley";
home.homeDirectory = "/home/marley";
targets.genericLinux.enable = true;
# GPU integration.
# nixGL.packages = nixgl.packages;
# nixGL.defaultWrapper = "nvidia";
# nixGL.installScripts = [ "nvidia" ];
2024-10-28 19:24:11 -07:00
home.language.base = "en_US.UTF-8";
# Tell nix what version it is.
nix.package = pkgs.nix;
nix = {
# Enable flakes.
settings.experimental-features = [
"nix-command"
"flakes"
];
# Disable that annoying "git tree is dirty" warning.
extraOptions = ''
warn-dirty = false
'';
# Garbage collection.
gc.automatic = true;
};
2024-10-18 17:49:35 -07:00
xdg.configFile."nixpkgs/config.nix".text = # nix
''
{
allowUnfree = true;
}
'';
2024-10-25 19:53:54 -07:00
# Autostart wanted systemd services.
systemd.user.startServices = true;
home.packages = with pkgs; [
nixfmt-rfc-style
2024-10-31 19:42:56 -07:00
nil
just
2024-10-19 09:42:19 -07:00
];
imports = [
./appearance
./languages
./profile
./programs
./services
./xorg
];
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing.
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
}