Skip to content

Commit 7d43af4

Browse files
committed
updates and bookmarks and other stuff
1 parent 0f3831f commit 7d43af4

4 files changed

Lines changed: 52 additions & 47 deletions

File tree

flake.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/desktop/gtk.nix

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,22 @@
44
{ host, user, ... }:
55
{
66
homeManager =
7-
{ pkgs, osConfig, ... }:
7+
{ osConfig, lib, ... }:
8+
let
9+
hasGames = osConfig.fileSystems ? "/games";
10+
gtk3Bookmarks = [
11+
"file:///home/${user.userName}/.config"
12+
"file:///home/${user.userName}/3D"
13+
"file:///home/${user.userName}/Downloads"
14+
"file:///home/${user.userName}/Screenshots"
15+
"file:///home/${user.userName}/Videos"
16+
"file:///home/${user.userName}/dev"
17+
"file:///home/${user.userName}/gamedev"
18+
"file:///home/${user.userName}/nix"
19+
"file:///home/${user.userName}/pics"
20+
]
21+
++ lib.optionals hasGames [ "file:///games" ];
22+
in
823
{
924
# Force Home Manager to overwrite existing GTK files
1025
xdg.configFile."gtk-3.0/settings.ini".force = true;
@@ -17,17 +32,7 @@
1732
extraConfig = {
1833
gtk-application-prefer-dark-theme = 1;
1934
};
20-
bookmarks = [
21-
"file:///home/${user.userName}/.config"
22-
"file:///home/${user.userName}/3D"
23-
"file:///home/${user.userName}/Downloads"
24-
"file:///home/${user.userName}/Screenshots"
25-
"file:///home/${user.userName}/Videos"
26-
"file:///home/${user.userName}/dev"
27-
"file:///home/${user.userName}/gamedev"
28-
"file:///home/${user.userName}/nix"
29-
"file:///home/${user.userName}/pics"
30-
];
35+
bookmarks = gtk3Bookmarks;
3136
};
3237
gtk4 = {
3338
extraConfig = {

modules/desktop/noctalia.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,18 @@
117117
lock = {
118118
action = "lock";
119119
enabled = true;
120-
timeout = 600;
120+
timeout = 720;
121121
};
122122
screen-off = {
123123
action = "screen_off";
124124
enabled = true;
125-
timeout = 900;
125+
timeout = 1800;
126126
};
127127
suspend = {
128128
action = "suspend";
129129
enabled = true;
130130
lock_before_suspend = true;
131-
timeout = 7200;
131+
timeout = 10800;
132132
};
133133
};
134134
};

modules/gaming/wow.nix

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
url = "https://curseforge.overwolf.com/downloads/curseforge-latest-linux.AppImage";
88
hash = "sha256-ocLq6EaM2E/yvH9zH2ESXZ8eLiquRHxStT/CDhJ2OdQ=";
99
};
10-
archon = pkgs.fetchurl {
11-
url = "https://github.com/RPGLogs/Uploaders-archon/releases/download/v9.6.0/archon-v9.6.0.AppImage";
12-
hash = "sha256-69xo+1jMo91KQ6yoMOBTXLUzFRNGUJqH7G5ZeEiiX4I=";
10+
archon-lite = pkgs.fetchurl {
11+
url = "https://github.com/RPGLogs/Uploaders-archon-lite/releases/download/v9.5.0/archon-lite-v9.5.0.AppImage";
12+
hash = "sha256-ZuALgVtqsYtvnSq8hkJL4A+i4UaEpk+2L3bpSEXrhRM=";
1313
};
1414
in
1515
{
@@ -35,23 +35,23 @@
3535
'';
3636
})
3737
(pkgs.appimageTools.wrapType2 {
38-
pname = "archon";
39-
name = "archon";
40-
version = "9.6.0";
41-
src = archon;
38+
pname = "archon-lite";
39+
name = "archon-lite";
40+
version = "9.5.0";
41+
src = archon-lite;
4242
extraInstallCommands =
4343
let
4444
contents = pkgs.appimageTools.extract {
45-
pname = "archon";
46-
version = "9.6.0";
47-
src = archon;
45+
pname = "archon-lite";
46+
version = "9.5.0";
47+
src = archon-lite;
4848
};
4949
in
5050
''
51-
install -m 444 -D ${contents}/archon.desktop $out/share/applications/archon.desktop
52-
substituteInPlace $out/share/applications/archon.desktop \
53-
--replace-fail 'Exec=AppRun' 'Exec=archon'
54-
install -m 444 -D ${contents}/archon.png $out/share/icons/hicolor/256x256/apps/archon.png
51+
install -m 444 -D ${contents}/archon-lite.desktop $out/share/applications/archon-lite.desktop
52+
substituteInPlace $out/share/applications/archon-lite.desktop \
53+
--replace-fail 'Exec=AppRun' 'Exec=archon-lite'
54+
install -m 444 -D ${contents}/archon-lite.png $out/share/icons/hicolor/256x256/apps/archon-lite.png
5555
'';
5656
})
5757
pkgs.xembsni

0 commit comments

Comments
 (0)