76 lines
2.1 KiB
Nix
76 lines
2.1 KiB
Nix
{ self, inputs, ... }: {
|
|
|
|
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
|
|
|
|
imports = with self.homeModules; [
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
|
|
nathan-terminal
|
|
nathan-mpd
|
|
nathan-nh
|
|
];
|
|
|
|
config = {
|
|
|
|
home.username = "nathan";
|
|
|
|
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
home.pointerCursor = {
|
|
gtk.enable = true;
|
|
package = pkgs.bibata-cursors;
|
|
name = "Bibata-Modern-Classic";
|
|
size = 16;
|
|
};
|
|
|
|
dconf.settings = {
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
autoconnect = ["qemu:///system"];
|
|
uris = ["qemu:///system"];
|
|
};
|
|
};
|
|
|
|
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 = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
|
defaultSopsFile = ./secrets.yaml;
|
|
defaultSopsFormat = "yaml";
|
|
|
|
#secrets."remoteBuildKey" = {};
|
|
};
|
|
|
|
services.mpris-proxy.enable = true;
|
|
|
|
programs.ssh = {
|
|
enable = true;
|
|
|
|
matchBlocks = {
|
|
"builder" = {
|
|
hostname = "esotericbytes.com";
|
|
user = "remote-builder";
|
|
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
|
port = 22;
|
|
};
|
|
|
|
"remote" = {
|
|
hostname = "esotericbytes.com";
|
|
user = "nathan";
|
|
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
|
port = 22;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|