declutter fingerprint module

This commit is contained in:
2025-02-16 16:47:20 +01:00
parent 7eb580c33b
commit a0b3de5875
10 changed files with 99 additions and 59 deletions

View File

@ -7,8 +7,8 @@ in {
imports = [
./packages.nix # Packages to install
./programs.nix # Programs to enable
./files.nix # Files to create
./theme.nix # System-wide/GTK theme
./portal.nix # Desktop portals
];
home = {

View File

@ -1,6 +0,0 @@
{
xdg.configFile."gtk-3.0/settings.ini".text = ''
[Settings]
gtk-icon-theme-name=Adwaita
'';
}

View File

@ -28,9 +28,6 @@ in {
'';
packages = with pkgs; [
hyprland hyprlock hypridle hyprshot wl-clipboard cliphist swww
lxqt.lxqt-policykit
stdenv.cc.cc.lib
pywal pywalfox-native
(python3.withPackages (py: with py; [

29
profiles/hulk/portal.nix Normal file
View File

@ -0,0 +1,29 @@
{ pkgs, ... }:
let
portals-config = pkgs.writeTextDir "share/xdg-desktop-portal/portals/portals.conf" ''
[preferred]
default=hyprland
org.freedesktop.impl.portal.Settings=darkman
'';
packages = [
pkgs.xdg-desktop-portal
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
pkgs.darkman
];
portals = pkgs.symlinkJoin {
name = "xdg-portals";
paths = [ portals-config ] ++ packages;
pathsToLink = [
"/share/xdg-desktop-portal/portals"
"/share/applications"
];
};
in {
home.sessionVariables = {
XDG_DESKTOP_PORTAL_DIR = "${portals}/share/xdg-desktop-portal/portals";
};
home.packages = packages;
}

View File

@ -20,15 +20,23 @@
${pkgs.dconf}/bin/dconf write\
/org/gnome/desktop/interface/color-scheme "'prefer-dark'"
'';
wallpaper = ''
$HOME/.config/hypr/scripts/random-wallpaper.sh
'';
};
lightModeScripts = {
gtk-theme = ''
${pkgs.dconf}/bin/dconf write\
/org/gnome/desktop/interface/color-scheme "'prefer-light'"
'';
wallpaper = ''
$HOME/.config/hypr/scripts/random-wallpaper.sh
'';
};
settings = {
usegeoclue = true;
};
settings.usegeoclue = false;
};
}