Skip to content

Commit 2cebf04

Browse files
committed
treewide: fix warnings
1 parent d354aa2 commit 2cebf04

File tree

20 files changed

+107
-96
lines changed

20 files changed

+107
-96
lines changed

home/editors/helix/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
programs.helix = {
1010
enable = true;
11-
package = inputs.helix.packages.${pkgs.system}.default;
11+
package = inputs.helix.packages.${pkgs.stdenv.hostPlatform.system}.default;
1212
extraPackages = with pkgs; [
1313
markdown-oxide
1414
nodePackages.vscode-langservers-extracted

home/editors/helix/languages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
};
256256

257257
uwu-colors = {
258-
command = "${inputs.uwu-colors.packages.${pkgs.system}.default}/bin/uwu_colors";
258+
command = "${inputs.uwu-colors.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/uwu_colors";
259259
# command = "uwu_colors"; # useful for testing
260260
};
261261

home/programs/anyrun/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
package = inputs.anyrun.packages.x86_64-linux.default;
1010

1111
config = {
12-
plugins = with inputs.anyrun.packages.${pkgs.system}; [
12+
plugins = with inputs.anyrun.packages.${pkgs.stdenv.hostPlatform.system}; [
1313
uwsm_app
1414
randr
1515
rink

home/programs/browsers/zen.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
}:
66
{
77
home.packages = [
8-
inputs.zen-browser.packages.${pkgs.system}.default
8+
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default
99
];
1010
}

home/programs/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
home.packages = with pkgs; [
1515
halloy
1616
signal-desktop
17-
tdesktop
17+
telegram-desktop
1818

1919
gnome-calculator
2020
gnome-control-center
@@ -25,7 +25,7 @@
2525

2626
zotero
2727

28-
inputs.nix-matlab.packages.${pkgs.system}.matlab
28+
inputs.nix-matlab.packages.${pkgs.stdenv.hostPlatform.system}.matlab
2929
];
3030

3131
xdg.configFile."matlab/nix.sh".text = "INSTALL_DIR=$XDG_DATA_HOME/matlab/installation";

home/programs/games/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
home.packages = with pkgs; [
99
# Default latency sometimes crackles
10-
(inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin.override {
10+
(inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-lazer-bin.override {
1111
pipewire_latency = "128/48000";
1212
})
1313
gamescope

home/programs/wayland/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
slurp
1919

2020
# utils
21-
self.packages.${pkgs.system}.wl-ocr
21+
self.packages.${pkgs.stdenv.hostPlatform.system}.wl-ocr
2222
wl-clipboard
2323
# wl-screenrec
2424
wlr-randr

home/programs/wayland/hyprland/default.nix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2-
lib,
32
inputs,
43
pkgs,
54
...
65
}:
6+
77
let
8+
inherit (pkgs.stdenv.hostPlatform) system;
89
cursor = "Bibata-Modern-Classic-Hyprcursor";
9-
cursorPackage = inputs.self.packages.${pkgs.system}.bibata-hyprcursor;
10+
cursorPackage = inputs.self.packages.${system}.bibata-hyprcursor;
1011
in
1112
{
1213
imports = [
@@ -17,7 +18,7 @@ in
1718
];
1819

1920
home.packages = [
20-
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
21+
inputs.hyprland-contrib.packages.${system}.grimblast
2122
];
2223

2324
xdg.dataFile."icons/${cursor}".source = "${cursorPackage}/share/icons/${cursor}";
@@ -26,9 +27,9 @@ in
2627
wayland.windowManager.hyprland = {
2728
enable = true;
2829

29-
package = inputs.hyprland.packages.${pkgs.system}.default;
30+
package = inputs.hyprland.packages.${system}.default;
3031

31-
plugins = with inputs.hyprland-plugins.packages.${pkgs.system}; [
32+
plugins = with inputs.hyprland-plugins.packages.${system}; [
3233
# hyprbars
3334
# hyprexpo
3435
];

home/programs/wayland/hyprlock.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
programs.hyprlock = {
99
enable = true;
1010

11-
package = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
11+
package = inputs.hyprlock.packages.${pkgs.stdenv.hostPlatform.system}.hyprlock;
1212

1313
settings = {
1414
general = {

home/services/quickshell/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
...
66
}:
77
let
8-
quickshell = inputs.quickshell.packages.${pkgs.system}.default;
8+
quickshell = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default;
99
in
1010
{
1111
home.packages = [ quickshell ];

0 commit comments

Comments
 (0)