mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
nixpkgs deprecated lib.getExe on packages without a mainprogram
This commit is contained in:
parent
816f6fc3bd
commit
741ebd293d
14 changed files with 34 additions and 33 deletions
|
@ -23,8 +23,8 @@
|
|||
description = "Crowdsec agent";
|
||||
serviceConfig = {
|
||||
Type = "notify";
|
||||
ExecStartPre = "${lib.getExe pkgs.crowdsec} -t -error";
|
||||
ExecStart = "${lib.getExe pkgs.crowdsec}";
|
||||
ExecStartPre = "${pkgs.crowdsec}/bin/crowdsec -t -error";
|
||||
ExecStart = "${pkgs.crowdsec}/bin/crowdsec";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
Restart = "always";
|
||||
RestartSec = 60;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
];
|
||||
|
||||
|
||||
#loader.systemd-boot.editor = false;
|
||||
loader.systemd-boot.editor = false;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
tmp.useTmpfs = true;
|
||||
|
@ -67,6 +67,7 @@
|
|||
"/etc/ssh"
|
||||
"/etc/secureboot"
|
||||
"/root/.ssh"
|
||||
"/root/.local/share/zsh"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${lib.getExe pkgs.greetd.tuigreet} --cmd river";
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd river";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue