Compare commits
3 commits
ba2d7312b4
...
39ddd06084
Author | SHA1 | Date | |
---|---|---|---|
39ddd06084 | |||
58a46c793b | |||
7c27f7d51f |
3 changed files with 23 additions and 3 deletions
|
@ -44,6 +44,28 @@ let
|
|||
.output()
|
||||
.expect("Unable to play audio via mpv");
|
||||
}
|
||||
|
||||
let xrootdatetime_pid_raw =
|
||||
Command::new("systemctl")
|
||||
.args([
|
||||
"--user",
|
||||
"show",
|
||||
"--property", "MainPID",
|
||||
"--value", "xrootdatetime"
|
||||
])
|
||||
.output();
|
||||
|
||||
if let Ok(xrootdatetime_pid_raw) = xrootdatetime_pid_raw {
|
||||
if let Ok(xrootdatetime_pid) = str::from_utf8(&xrootdatetime_pid_raw.stdout[..]) {
|
||||
let _ = Command::new("kill")
|
||||
.args([
|
||||
"-s",
|
||||
"SIGUSR1",
|
||||
xrootdatetime_pid
|
||||
])
|
||||
.spawn();
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
in
|
||||
|
|
|
@ -53,8 +53,6 @@
|
|||
curl
|
||||
git
|
||||
killall
|
||||
|
||||
godot_4-mono
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
|
|
|
@ -49,7 +49,7 @@ in
|
|||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/1A0A-CEB2";
|
||||
device = "/dev/disk/by-uuid/0499-9841";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue