fix: Replace legacy pkgs.system with stdenv.hostPlatform.system across config
This commit is contained in:
parent
3791929aae
commit
1b3246824d
2 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
# Setup neovim with default home manager options
|
# Setup neovim with default home manager options
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
|
package = inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
vimdiffAlias = true;
|
vimdiffAlias = true;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
config = lib.mkIf config.crony.lnxlink.enable {
|
config = lib.mkIf config.crony.lnxlink.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
inputs.lnxlink.packages.${pkgs.system}.default
|
inputs.lnxlink.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.user.services.lnxlink = {
|
systemd.user.services.lnxlink = {
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 5;
|
RestartSec = 5;
|
||||||
ExecStart = "${inputs.lnxlink.packages.${pkgs.system}.default}/bin/lnxlink --config /home/crony/.config/lnxlink/config.yaml";
|
ExecStart = "${inputs.lnxlink.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/lnxlink --config /home/crony/.config/lnxlink/config.yaml";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue