2024-02-11 07:16:25 +00:00
|
|
|
{ config, lib, pkgs, foodogsquaredLib, ... }:
|
2021-11-27 11:21:08 +00:00
|
|
|
|
2022-11-19 03:05:31 +00:00
|
|
|
{
|
2023-12-12 01:43:25 +00:00
|
|
|
imports = [ ./modules ];
|
|
|
|
|
|
|
|
# All of the home-manager-user-specific setup are here.
|
|
|
|
users.foo-dogsquared = {
|
2024-01-07 02:34:28 +00:00
|
|
|
dotfiles.enable = true;
|
2023-12-12 01:43:25 +00:00
|
|
|
|
|
|
|
programs = {
|
2023-12-29 10:48:52 +00:00
|
|
|
dconf.enable = true;
|
2023-12-12 01:43:25 +00:00
|
|
|
browsers.brave.enable = true;
|
|
|
|
browsers.firefox.enable = true;
|
|
|
|
browsers.misc.enable = true;
|
2023-12-17 10:01:39 +00:00
|
|
|
doom-emacs.enable = true;
|
2024-02-07 00:02:57 +00:00
|
|
|
nixvim.enable = true;
|
2023-12-12 01:43:25 +00:00
|
|
|
email.enable = true;
|
|
|
|
email.thunderbird.enable = true;
|
2023-12-13 03:10:02 +00:00
|
|
|
research.enable = true;
|
2023-12-17 12:12:31 +00:00
|
|
|
vs-code.enable = true;
|
2023-12-12 01:43:25 +00:00
|
|
|
};
|
2023-12-12 01:09:45 +00:00
|
|
|
|
2023-12-13 03:13:52 +00:00
|
|
|
setups = {
|
|
|
|
desktop.enable = true;
|
2023-12-18 00:58:34 +00:00
|
|
|
development.enable = true;
|
2023-12-13 09:47:46 +00:00
|
|
|
fonts.enable = true;
|
2023-12-13 03:13:52 +00:00
|
|
|
music.enable = true;
|
2023-12-18 10:45:50 +00:00
|
|
|
music.mpd.enable = true;
|
2023-12-13 03:13:52 +00:00
|
|
|
};
|
2023-12-12 01:43:25 +00:00
|
|
|
};
|
2023-07-04 00:55:49 +00:00
|
|
|
|
2023-07-24 09:48:15 +00:00
|
|
|
# The keyfile required to decrypt the secrets.
|
|
|
|
sops.age.keyFile = "${config.xdg.configHome}/age/user";
|
|
|
|
|
2024-02-11 07:16:25 +00:00
|
|
|
sops.secrets = foodogsquaredLib.sops-nix.getSecrets ./secrets/secrets.yaml {
|
2023-07-24 09:48:15 +00:00
|
|
|
davfs2-credentials = {
|
|
|
|
path = "${config.home.homeDirectory}/.davfs2/davfs2.conf";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-01-20 14:48:11 +00:00
|
|
|
# Add our own projects directory since most programs can't decide where it is
|
|
|
|
# properly.
|
|
|
|
xdg.userDirs.extraConfig.XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
|
|
|
|
2023-07-07 09:12:08 +00:00
|
|
|
# Set nixpkgs config both outside and inside of home-manager.
|
|
|
|
nixpkgs.config = import ./config/nixpkgs/config.nix;
|
|
|
|
xdg.configFile."nixpkgs/config.nix".source = ./config/nixpkgs/config.nix;
|
|
|
|
|
2021-12-08 04:18:37 +00:00
|
|
|
home.packages = with pkgs; [
|
2023-12-18 10:45:50 +00:00
|
|
|
gopass # An improved version of the password manager for hipsters.
|
2023-04-24 03:15:29 +00:00
|
|
|
hledger # Trying to be a good accountant.
|
2021-12-25 13:56:50 +00:00
|
|
|
];
|
2021-12-08 04:18:37 +00:00
|
|
|
|
2023-12-10 04:27:17 +00:00
|
|
|
home.stateVersion = "23.11";
|
2022-05-20 06:47:09 +00:00
|
|
|
|
2022-07-05 14:28:03 +00:00
|
|
|
xdg.configFile = {
|
2023-10-17 11:43:38 +00:00
|
|
|
distrobox.source = ./config/distrobox;
|
2023-10-17 10:36:32 +00:00
|
|
|
kanidm.source = ./config/kanidm;
|
2022-07-05 14:28:03 +00:00
|
|
|
};
|
2023-03-13 15:46:24 +00:00
|
|
|
|
2023-04-24 03:15:41 +00:00
|
|
|
# Automating some files to be fetched on activation.
|
2023-03-13 15:46:24 +00:00
|
|
|
home.mutableFile = {
|
2023-07-22 03:05:52 +00:00
|
|
|
# ...my gopass secrets,...
|
|
|
|
".local/share/gopass/stores/personal" = {
|
|
|
|
url = "gitea@code.foodogsquared.one:foodogsquared/gopass-secrets-personal.git";
|
|
|
|
type = "gopass";
|
|
|
|
};
|
|
|
|
|
2023-04-24 03:15:41 +00:00
|
|
|
# ...and my custom theme to be a showoff.
|
2023-03-24 02:26:16 +00:00
|
|
|
"${config.xdg.dataHome}/base16/bark-on-a-tree" = {
|
|
|
|
url = "https://github.com/foo-dogsquared/base16-bark-on-a-tree-scheme.git";
|
|
|
|
type = "git";
|
|
|
|
};
|
2023-03-13 15:46:24 +00:00
|
|
|
};
|
2024-02-11 07:20:09 +00:00
|
|
|
|
|
|
|
# My own colorscheme just set somewhere. For now, this is manually set, we'll
|
|
|
|
# have to import this with `lib.importYAML` or something similar.
|
|
|
|
tinted-theming.schemes.bark-on-a-tree = {
|
|
|
|
name = "Bark on a tree";
|
|
|
|
author = "Gabriel Arazas";
|
|
|
|
description = "Rusty theme resembling forestry inspired from Nord theme.";
|
|
|
|
variant = "dark";
|
|
|
|
palette = {
|
|
|
|
base00 = "2b221f";
|
|
|
|
base01 = "412c26";
|
|
|
|
base02 = "5c362c";
|
|
|
|
base03 = "a45b43";
|
|
|
|
base04 = "e1bcb2";
|
|
|
|
base05 = "f5ecea";
|
|
|
|
base06 = "fefefe";
|
|
|
|
base07 = "eb8a65";
|
|
|
|
base08 = "d03e68";
|
|
|
|
base09 = "df937a";
|
|
|
|
base0A = "afa644";
|
|
|
|
base0B = "85b26e";
|
|
|
|
base0C = "eb914a";
|
|
|
|
base0D = "c67f62";
|
|
|
|
base0E = "8b7ab9";
|
|
|
|
base0F = "7f3F83";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
tinted-theming.schemes.albino-bark-on-a-tree = {
|
|
|
|
name = "Albino bark on a tree";
|
|
|
|
author = "Gabriel Arazas";
|
|
|
|
variant = "light";
|
|
|
|
description = "Bright rusty theme resembling forestry inspired from Nord theme.";
|
|
|
|
palette = {
|
|
|
|
base00 = "f0f0f0";
|
|
|
|
base01 = "e1e3e2";
|
|
|
|
base02 = "dacec7";
|
|
|
|
base03 = "9d5c4c";
|
|
|
|
base04 = "54352c";
|
|
|
|
base05 = "392c26";
|
|
|
|
base06 = "2b220f";
|
|
|
|
base07 = "cb6d48";
|
|
|
|
base08 = "b52b52";
|
|
|
|
base09 = "d56f17";
|
|
|
|
base0A = "b0a52e";
|
|
|
|
base0B = "5c963e";
|
|
|
|
base0C = "e46403";
|
|
|
|
base0D = "954c2f";
|
|
|
|
base0E = "6751a5";
|
|
|
|
base0F = "55195a";
|
|
|
|
};
|
|
|
|
};
|
2021-11-27 08:04:01 +00:00
|
|
|
}
|