Skip to content

Commit

Permalink
refactor: use system module input
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Mar 10, 2025
1 parent 6751f44 commit 1ccc996
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/nixos/desktop/addons/screenshot/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
config,
lib,
pkgs,
system,
inputs,
...
}:
Expand All @@ -21,7 +21,7 @@ in
elementary.home.packages = [
(
if cfg.hyprlandSupport then
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
inputs.hyprland-contrib.packages.${system}.grimblast
else
abort "only supports Hyprland - set 'hyprlandSupport' module option to true"
)
Expand Down
3 changes: 2 additions & 1 deletion modules/nixos/programs/emacs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
config,
lib,
pkgs,
system,
inputs,
...
}:
Expand Down Expand Up @@ -64,7 +65,7 @@ in
# consult
ripgrep
# LSP
inputs.emacs-lsp-booster.packages.${pkgs.system}.default
inputs.emacs-lsp-booster.packages.${system}.default
# lsp-nix
nil
nixfmt-rfc-style
Expand Down
4 changes: 2 additions & 2 deletions modules/nixos/programs/spotify/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
config,
lib,
pkgs,
system,
inputs,
...
}:
Expand All @@ -25,7 +25,7 @@ in
enable = true;
enabledExtensions =
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
spicePkgs = inputs.spicetify-nix.legacyPackages.${system}.extensions;
in
[
spicePkgs.extensions.betterGenres
Expand Down

0 comments on commit 1ccc996

Please sign in to comment.