Huge batch of user configurations has been copied or implemented to nix

New configs for:
    - kitty
    - libreoffice
    - fonts
    - transmission remote
    - ssh

    Calibre is still TODO, once I figure out what the important bits
    are.
    Same goes for Firefox, which might be more complex
This commit is contained in:
RealStickman 2023-05-05 14:58:36 +02:00
parent 20a7f9bf97
commit 5d9fc0c522
6 changed files with 2592 additions and 6 deletions

View File

@ -157,6 +157,26 @@ in
# Enable thumbnailer service
services.tumbler.enable = true;
fonts.fontconfig = {
enable = true;
hinting = {
enable = true;
autohint = false;
style = "hintfull";
};
subpixel = {
rgba = "rgb";
lcdfilter = "default";
};
antialias = true;
defaultFonts = {
serif = [ "Droid Serif" ];
sansSerif = [ "Fira Sans" ];
monospace = [ "Fira Code" "Fira Mono" ];
#emoji = [ "Font Awesome" ];
};
};
virtualisation = {
podman = {
enable = true;

View File

@ -36,7 +36,6 @@ in
pciutils # lspci command
git # git
emacs # emacs editor
emacsPackages.doom # doom emacs configuration
acpilight # controlling laptop monitor backlight
networkmanagerapplet # network configuration
wofi # app launcher (wayland replacement for rofi)
@ -53,6 +52,7 @@ in
xfce.thunar-archive-plugin # manage archives in thunar
#xfce.xfce4-settings # xfce settings manager
xfce.xfconf # xfce config storage
transmission-remote-gtk # torrent remote controll gui
];
imports = [
@ -105,12 +105,42 @@ in
};
};
programs.waybar = {
enable = true;
settings = {
mainBar = (builtins.fromJSON (builtins.readFile ./home-manager/config/waybar/config.json));
programs = {
waybar = {
enable = true;
settings = {
mainBar = (builtins.fromJSON (builtins.readFile ./home-manager/config/waybar/config.json));
};
style = (builtins.readFile ./home-manager/config/waybar/style.css);
};
kitty = {
enable = true;
extraConfig = (builtins.readFile ./home-manager/config/kitty/kitty.conf);
};
ssh = {
enable = true;
extraOptionOverrides = {
extraConfig = "AddKeysToAgent yes";
};
matchBlocks = [
{
host = "gitlab.com";
identityFile = [ "${builtins.getEnv"HOME"}/.ssh/id_ed25519_git" ];
}
{
host = "github.com";
identityFile = [ "${builtins.getEnv"HOME"}/.ssh/id_ed25519_git" ];
}
{
host = "gitea.exu.li";
identityFile = [ "${builtins.getEnv"HOME"}/.ssh/id_ed25519_git" ];
}
{
host = "aur.archlinux.org";
identityFile = [ "${builtins.getEnv"HOME"}/.ssh/id_ed25519_git" ];
}
];
};
style = (builtins.readFile ./home-manager/config/waybar/style.css);
};
home.file = {
@ -135,6 +165,11 @@ in
".config/user-dirs.dirs".source = ./home-manager/config/user-dirs.dirs;
# xdg user locales
".config/user-dirs.locale".source = ./home-manager/config/user-dirs.locale;
# libreoffice settings
".config/libreoffice".source = ./home-manager/config/libreoffice;
# transmission remote settings
".config/transmission-remote-gtk".source = ./home-manager/config/transmission-remote-gtk;
# TODO firefox configuration
};
services.mako.enable = true;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,115 @@
{
"profiles" : [
{
"profile-name" : "Default",
"hostname" : "172.18.50.103",
"port" : 9091,
"rpc-url-path" : "/transmission/rpc",
"username" : "",
"password" : "",
"auto-connect" : true,
"ssl" : false,
"ssl-validate" : false,
"timeout" : 40,
"retries" : 3,
"update-active-only" : false,
"activeonly-fullsync-enabled" : false,
"activeonly-fullsync-every" : 2,
"update-interval" : 3,
"min-update-interval" : 3,
"session-update-interval" : 60,
"custom-headers" : [],
"exec-commands" : [],
"destinations" : []
}
],
"profile-id" : 0,
"tree-views" : {
"TrgTorrentTreeView" : {
"sort-col" : 22,
"sort-type" : 0
},
"TrgTrackersTreeView" : {
"sort-col" : -2,
"sort-type" : 0,
"widths" : [
72,
146,
85,
142,
148,
149,
126,
128
],
"columns" : [
"tier",
"announce-url",
"last-announce-peer-count",
"seeder-count",
"leecher-count",
"last-announce-time",
"last-result",
"scrape-url"
]
},
"TrgFilesTreeView" : {
"sort-col" : -2,
"sort-type" : 0,
"widths" : [
189,
176,
211,
220,
200
],
"columns" : [
"name",
"size",
"progress",
"wanted",
"priority"
]
},
"TrgPeersTreeView" : {
"sort-col" : -2,
"sort-type" : 0,
"widths" : [
89,
107,
129,
163,
142,
137,
112,
117
],
"columns" : [
"ip",
"host",
"country",
"down-speed",
"up-speed",
"progress",
"flags",
"client"
]
}
},
"start-paused" : false,
"add-options-dialog" : true,
"delete-local-torrent" : false,
"show-state-selector" : true,
"filter-dirs" : true,
"filter-trackers" : true,
"directories-first" : true,
"show-notebook" : false,
"system-tray" : false,
"system-tray-minimise" : false,
"add-notify" : false,
"complete-notify" : false,
"window-height" : 1056,
"window-width" : 1916,
"notebook-paned-pos" : 300,
"states-paned-pos" : 120
}

View File

@ -30,5 +30,6 @@
fira # fira sans font
fira-code # fira code font
font-awesome # icons font
fira-mono # fira monospace without ligatures
];
}