70 lines
1.9 KiB
Nix
70 lines
1.9 KiB
Nix
{ config, lib, pkgs, inputs, ... }: {
|
|
|
|
imports = [
|
|
./programs
|
|
./services
|
|
./packages
|
|
./dotfiles
|
|
];
|
|
|
|
config = {
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
home.username = "nathan";
|
|
|
|
home.homeDirectory = "/home/nathan";
|
|
|
|
home.pointerCursor = {
|
|
gtk.enable = true;
|
|
package = pkgs.bibata-cursors;
|
|
name = "Bibata-Modern-Classic";
|
|
size = 16;
|
|
};
|
|
|
|
gtk = {
|
|
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 = "/home/nathan/.config/sops/age/keys.txt";
|
|
defaultSopsFile = ./secrets.yaml;
|
|
defaultSopsFormat = "yaml";
|
|
};
|
|
|
|
/*nix = {
|
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
builders = '''';
|
|
builders-use-substitutes = true;
|
|
};
|
|
|
|
distributedBuilds = config.sysconfig.remoteBuildClient;
|
|
buildMachines = lib.mkIf config.sysconfig.remoteBuildClient [
|
|
{
|
|
hostName = "blunkall.us";
|
|
sshUser = "remote-builder";
|
|
sshKey = config.sops.secrets."remoteBuildSSHKey".path;
|
|
supportedFeatures = [
|
|
"nixos-test"
|
|
"benchmark"
|
|
"big-parallel"
|
|
"kvm"
|
|
];
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
}
|
|
];
|
|
};*/
|
|
|
|
services.mpris-proxy.enable = true;
|
|
|
|
programs.ssh.enable = true;
|
|
|
|
};
|
|
}
|