linted
This commit is contained in:
atagen 2025-02-02 16:57:31 +11:00
parent 4e99a0e323
commit 7485de646a
95 changed files with 2743 additions and 2282 deletions

View file

@ -3,9 +3,11 @@
lib,
pkgs,
...
}: let
}:
let
inherit (lib) getExe;
in {
in
{
home.stateVersion = "22.11";
imports = [
@ -29,36 +31,37 @@ in {
xdg = {
enable = true;
portal = let
gtk = pkgs.xdg-desktop-portal-gtk;
gnome = pkgs.xdg-desktop-portal-gnome;
in {
enable = true;
config = {
common = {
default = [
"gnome"
];
portal =
let
gtk = pkgs.xdg-desktop-portal-gtk;
gnome = pkgs.xdg-desktop-portal-gnome;
in
{
enable = true;
config = {
common = {
default = [
"gnome"
];
};
};
extraPortals = [
gnome
gtk
];
};
extraPortals = [
gnome
gtk
];
};
};
home.packages = let
inherit (pkgs.rice) icons fonts cursor;
in
fonts.pkgs
++ icons.pkgs
++ [cursor.package];
home.packages =
let
inherit (pkgs.rice) icons fonts cursor;
in
fonts.pkgs ++ icons.pkgs ++ [ cursor.package ];
systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = ["graphical-session.target"];
Requires = [ "graphical-session.target" ];
};
};
@ -71,13 +74,13 @@ in {
systemd.user.services.udiskie = lib.mkForce {
Unit = {
Description = "udiskie mount daemon";
After = [];
PartOf = ["graphical-session.target"];
After = [ ];
PartOf = [ "graphical-session.target" ];
};
Service.ExecStart = ["${pkgs.udiskie}/bin/udiskie --appindicator"];
Service.ExecStart = [ "${pkgs.udiskie}/bin/udiskie --appindicator" ];
Install.WantedBy = ["graphical-session.target"];
Install.WantedBy = [ "graphical-session.target" ];
};
# programs.nix-index-database.comma.enable = true;