2024-10-18 17:29:39 -07:00
|
|
|
{
|
2024-10-20 19:17:56 -07:00
|
|
|
pkgs,
|
2024-11-03 11:33:32 -08:00
|
|
|
# nixgl,
|
2024-10-20 19:17:56 -07:00
|
|
|
...
|
2024-11-02 15:35:48 -07:00
|
|
|
}:
|
|
|
|
{
|
2024-10-18 17:29:39 -07:00
|
|
|
home.username = "marley";
|
|
|
|
home.homeDirectory = "/home/marley";
|
|
|
|
|
2024-11-02 22:21:19 -07:00
|
|
|
targets.genericLinux.enable = true;
|
|
|
|
|
|
|
|
# GPU integration.
|
2024-11-03 11:33:32 -08:00
|
|
|
# nixGL.packages = nixgl.packages;
|
|
|
|
# nixGL.defaultWrapper = "nvidia";
|
|
|
|
# nixGL.installScripts = [ "nvidia" ];
|
2024-11-02 22:21:19 -07:00
|
|
|
|
2024-10-28 19:24:11 -07:00
|
|
|
home.language.base = "en_US.UTF-8";
|
|
|
|
|
2024-10-18 18:15:55 -07:00
|
|
|
# Tell nix what version it is.
|
|
|
|
nix.package = pkgs.nix;
|
|
|
|
|
2024-10-18 17:49:35 -07:00
|
|
|
# Enable flakes.
|
2024-11-02 15:35:48 -07:00
|
|
|
nix.settings.experimental-features = [
|
|
|
|
"nix-command"
|
|
|
|
"flakes"
|
|
|
|
];
|
2024-10-18 17:49:35 -07:00
|
|
|
|
2024-11-02 22:21:19 -07:00
|
|
|
xdg.configFile."nixpkgs/config.nix".text = # nix
|
|
|
|
''
|
|
|
|
{
|
|
|
|
allowUnfree = true;
|
|
|
|
}
|
|
|
|
'';
|
2024-10-25 19:53:54 -07:00
|
|
|
|
2024-10-27 19:41:02 -07:00
|
|
|
# Autostart wanted systemd services.
|
|
|
|
systemd.user.startServices = true;
|
|
|
|
|
2024-10-20 21:13:04 -07:00
|
|
|
home.packages = with pkgs; [
|
2024-11-02 15:35:48 -07:00
|
|
|
nixfmt-rfc-style
|
2024-10-31 19:42:56 -07:00
|
|
|
nil
|
2024-10-20 21:13:04 -07:00
|
|
|
just
|
2024-10-20 21:22:41 -07:00
|
|
|
maple-mono-NF
|
2024-10-19 09:42:19 -07:00
|
|
|
];
|
|
|
|
|
2024-11-02 16:09:59 -07:00
|
|
|
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
|
2024-10-20 21:22:41 -07:00
|
|
|
|
2024-10-20 19:17:56 -07:00
|
|
|
imports = [
|
2024-11-03 12:57:27 -08:00
|
|
|
./gtk.nix
|
2024-11-03 10:33:32 -08:00
|
|
|
./programs
|
2024-11-03 13:16:43 -08:00
|
|
|
./qt.nix
|
2024-11-03 10:33:32 -08:00
|
|
|
./services
|
|
|
|
./xdg.nix
|
|
|
|
./xorg
|
2024-10-20 19:17:56 -07:00
|
|
|
];
|
|
|
|
|
2024-10-18 17:29:39 -07:00
|
|
|
# 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;
|
|
|
|
}
|