Compare commits

..

3 commits

3 changed files with 23 additions and 3 deletions

View file

@ -44,6 +44,28 @@ let
.output() .output()
.expect("Unable to play audio via mpv"); .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 in

View file

@ -53,8 +53,6 @@
curl curl
git git
killall killall
godot_4-mono
]; ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [

View file

@ -49,7 +49,7 @@ in
}; };
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/1A0A-CEB2"; device = "/dev/disk/by-uuid/0499-9841";
fsType = "vfat"; fsType = "vfat";
}; };