Initial commit

This commit is contained in:
2026-03-31 16:53:11 +02:00
commit d0eba1c834
343 changed files with 34443 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
_: {
imports = [
./fonts.nix
./xdg.nix
];
programs = {
dconf.enable = true;
seahorse.enable = true;
};
}
+10
View File
@@ -0,0 +1,10 @@
{pkgs, ...}: {
environment = {
shells = [pkgs.fish];
pathsToLink = ["/share/fish"];
};
programs = {
less.enable = true;
};
}
+54
View File
@@ -0,0 +1,54 @@
{
inputs,
pkgs,
...
}: {
fonts = {
packages = with pkgs; [
# icon fonts
material-symbols
# normal fonts
noto-fonts
noto-fonts-cjk-sans
noto-fonts-color-emoji
# nerdfonts
nerd-fonts.symbols-only
nerd-fonts.sauce-code-pro
cozette
inputs.self.packages.${stdenv.hostPlatform.system}.apple-fonts
];
# causes more issues than it solves
enableDefaultPackages = false;
fontconfig = {
enable = true;
antialias = true;
hinting = {
enable = true;
autohint = false;
style = "full";
};
subpixel = {
lcdfilter = "default";
rgba = "rgb";
};
defaultFonts = let
addAll = builtins.mapAttrs (_: v: ["Symbols Nerd Font"] ++ v ++ ["Noto Color Emoji"]);
in
addAll {
serif = ["New York Small"];
sansSerif = ["SF Pro Display"];
monospace = ["SauceCodePro Nerd Font"];
emoji = ["Noto Color Emoji"];
};
};
fontDir = {
enable = true;
decompressFonts = true;
};
};
}
+7
View File
@@ -0,0 +1,7 @@
{
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
}
+28
View File
@@ -0,0 +1,28 @@
{
lib,
pkgs,
...
}: {
xdg.portal = {
enable = true;
config = {
common = {
default = ["gnome" "gtk"];
"org.freedesktop.impl.portal.ScreenCast" = "gnome";
"org.freedesktop.impl.portal.Screenshot" = "gnome";
"org.freedesktop.impl.portal.RemoteDesktop" = "gnome";
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
"org.freedesktop.impl.portal.OpenURI" = "gtk";
"org.freedesktop.impl.portal.OpenFile" = "gtk";
};
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-gnome
];
};
environment.sessionVariables = {
NIX_XDG_DESKTOP_PORTAL_DIR = lib.mkForce null;
};
}