Compare commits

...

5 commits

Author SHA1 Message Date
e0fb4b8903 services: move .nix files into their own dirs 2025-04-18 18:01:27 +02:00
7ccea14afb {temperance, hermit}/configuration.nix: enable thunar 2025-04-18 17:57:51 +02:00
2b045992c1 thunar/module.nix: add {enableOption, gvfs, file-roller, thumbnails} 2025-04-18 17:56:49 +02:00
b4c1c7891a foot.nix: cleanup 2025-04-18 17:53:32 +02:00
b9bfb14bad fonts.nix: remove custom font
building this takes a truly stupid amount of resources
2025-04-18 17:51:36 +02:00
13 changed files with 35 additions and 50 deletions

View file

@ -69,6 +69,7 @@
ssh.enable = true; ssh.enable = true;
btop.enable = true; btop.enable = true;
nh.enable = true; nh.enable = true;
thunar.enable = true;
}; };
}; };
system.stateVersion = "23.11"; system.stateVersion = "23.11";

View file

@ -91,6 +91,7 @@ in {
ssh.enable = true; ssh.enable = true;
btop.enable = true; btop.enable = true;
nh.enable = true; nh.enable = true;
thunar.enable = true;
}; };
}; };
} }

View file

@ -17,10 +17,8 @@
title = "foot"; title = "foot";
locked-title = "no"; locked-title = "no";
font = "valiosevka:size=14"; font = "Iosevka Nerd Font:size=14";
font-bold = "valiosevka:size=14"; font-bold = "Iosevka Nerd Font:size=14";
# font = "Iosevka Nerd Font:size=14";
# font-bold = "Iosevka Nerd Font:size=14";
line-height = 20; line-height = 20;
letter-spacing = 0; letter-spacing = 0;

View file

@ -3,21 +3,37 @@
lib, lib,
pkgs, pkgs,
... ...
}: { }: let
programs.thunar = { inherit (lib.modules) mkIf;
enable = true; inherit (lib.options) mkEnableOption;
plugins = builtins.attrValues { cfg = config.modules.programs.thunar;
inherit in {
(pkgs.xfce) options.modules.programs.thunar.enable = mkEnableOption "Thunar file manager";
thunar-volman config = mkIf cfg.enable {
thunar-vcs-plugin programs.thunar = {
thunar-archive-plugin enable = true;
thunar-media-tags-plugin plugins = builtins.attrValues {
; inherit
(pkgs.xfce)
thunar-volman
thunar-vcs-plugin
thunar-archive-plugin
thunar-media-tags-plugin
;
};
}; };
}; services.gvfs = {
services.gvfs = { enable = true;
enable = true; package = pkgs.gvfs;
package = pkgs.gvfs; };
# Archive management
programs.file-roller = {
enable = true;
package = pkgs.file-roller;
};
# image thumbnails
services.tumbler.enable = true;
}; };
} }

View file

@ -1,11 +0,0 @@
_: {
imports = [
./pipewire.nix
./locate.nix
./ssh.nix
./greetd.nix
./mako.nix
./mpd.nix
./firewall.nix
];
}

View file

@ -1,24 +1,5 @@
{pkgs, ...}: let {pkgs, ...}: let
inherit (builtins) mapAttrs; inherit (builtins) mapAttrs;
valiosevka = pkgs.iosevka.override {
privateBuildPlan = {
family = "valiosevka";
spacing = "normal";
serifs = "sans";
noCvSs = true;
exportGlyphNames = false;
ligations.inherits = "dlig";
variants = {
inherits = "ss15";
design = {
e = "flat-crossbar";
f = "diagonal-tailed-crossbar-at-x-height";
};
};
};
set = "Fancy";
};
in { in {
# A (somewhat) sane list of fonts to be installed. # A (somewhat) sane list of fonts to be installed.
fonts = { fonts = {
@ -73,7 +54,6 @@ in {
comic-shanns-mono comic-shanns-mono
symbols-only symbols-only
; ;
inherit valiosevka;
}; };
fontDir = { fontDir = {
# Whether to create a directory with links to all fonts in # Whether to create a directory with links to all fonts in