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 committed by exu
parent b666b56d5d
commit 7ba9941efe
6 changed files with 2592 additions and 6 deletions

View File

@ -157,6 +157,26 @@ in
# Enable thumbnailer service # Enable thumbnailer service
services.tumbler.enable = true; 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 = { virtualisation = {
podman = { podman = {
enable = true; enable = true;

View File

@ -36,7 +36,6 @@ in
pciutils # lspci command pciutils # lspci command
git # git git # git
emacs # emacs editor emacs # emacs editor
emacsPackages.doom # doom emacs configuration
acpilight # controlling laptop monitor backlight acpilight # controlling laptop monitor backlight
networkmanagerapplet # network configuration networkmanagerapplet # network configuration
wofi # app launcher (wayland replacement for rofi) wofi # app launcher (wayland replacement for rofi)
@ -53,6 +52,7 @@ in
xfce.thunar-archive-plugin # manage archives in thunar xfce.thunar-archive-plugin # manage archives in thunar
#xfce.xfce4-settings # xfce settings manager #xfce.xfce4-settings # xfce settings manager
xfce.xfconf # xfce config storage xfce.xfconf # xfce config storage
transmission-remote-gtk # torrent remote controll gui
]; ];
imports = [ imports = [
@ -105,13 +105,43 @@ in
}; };
}; };
programs.waybar = { programs = {
waybar = {
enable = true; enable = true;
settings = { settings = {
mainBar = (builtins.fromJSON (builtins.readFile ./home-manager/config/waybar/config.json)); mainBar = (builtins.fromJSON (builtins.readFile ./home-manager/config/waybar/config.json));
}; };
style = (builtins.readFile ./home-manager/config/waybar/style.css); 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" ];
}
];
};
};
home.file = { home.file = {
# Scripts # Scripts
@ -135,6 +165,11 @@ in
".config/user-dirs.dirs".source = ./home-manager/config/user-dirs.dirs; ".config/user-dirs.dirs".source = ./home-manager/config/user-dirs.dirs;
# xdg user locales # xdg user locales
".config/user-dirs.locale".source = ./home-manager/config/user-dirs.locale; ".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; 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 # fira sans font
fira-code # fira code font fira-code # fira code font
font-awesome # icons font font-awesome # icons font
fira-mono # fira monospace without ligatures
]; ];
} }