60 lines
1.7 KiB
Nix
60 lines
1.7 KiB
Nix
{ config, lib, pkgs, inputs, ... }: {
|
|
|
|
imports = [
|
|
./programs
|
|
./services
|
|
./packages
|
|
./dotfiles
|
|
];
|
|
|
|
config = lib.mkIf (config.homeconfig.username == "nathan") {
|
|
|
|
homeconfig = {
|
|
mpd.enable = lib.mkDefault true;
|
|
calcurse.enable = lib.mkDefault true;
|
|
git.enable = lib.mkDefault true;
|
|
nh.enable = lib.mkDefault true;
|
|
};
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
home.pointerCursor = lib.mkIf config.homeconfig.graphical {
|
|
gtk.enable = true;
|
|
package = pkgs.bibata-cursors;
|
|
name = "Bibata-Modern-Classic";
|
|
size = 16;
|
|
};
|
|
|
|
gtk = lib.mkIf config.homeconfig.graphical {
|
|
enable = true;
|
|
theme.name = "Tokyonight-Dark";
|
|
theme.package = pkgs.tokyonight-gtk-theme;
|
|
iconTheme.package = pkgs.rose-pine-icon-theme;
|
|
iconTheme.name = "rose-pine-moon";
|
|
};
|
|
|
|
sops = {
|
|
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
|
defaultSopsFile = ./secrets.yaml;
|
|
defaultSopsFormat = "yaml";
|
|
};
|
|
|
|
nix = {
|
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
};
|
|
|
|
distributedBuilds = config.sysconfig.remoteBuildClient;
|
|
buildMachines = lib.mkIf config.sysconfig.remoteBuildClient {};
|
|
|
|
trusted-users = lib.mkIf config.sysconfig.remoteBuildHost [ config.users.users."remote-builder".name ];
|
|
};
|
|
|
|
services.mpris-proxy.enable = true;
|
|
|
|
programs.ssh.enable = true;
|
|
|
|
};
|
|
}
|