declutter fingerprint module
This commit is contained in:
@ -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 = {
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-icon-theme-name=Adwaita
|
||||
'';
|
||||
}
|
@ -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
29
profiles/hulk/portal.nix
Normal 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;
|
||||
}
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user