This commit is contained in:
iFargle 2024-01-03 08:39:18 +09:00
parent de9990afd4
commit e3039b6cde

View file

@ -19,11 +19,6 @@
xkbVariant = "";
autorun = true;
videoDrivers = [ ] ++ lib.optional (builtins.isString gpu) gpu;
};
services.xserver = {
# https://nixos.org/manual/nixos/stable/index.html#chap-gnome
# Enable the KDE Plasma 6 Desktop Environment.
desktopManager.plasma6.enable = true;
};
@ -51,15 +46,10 @@
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs pkgs.bash ];
script = ''
ls /
echo "hello world"
whoami
id
source ~/.bashrc
# It doesn't get here for some reason
TIME=`cat /tmp/wttr.in | grep sunrise | head -n 1 | awk {'print $2" "$3'} | sed -e 's/"//g' | sed -e 's/,//'`
echo "Time to run at: $TIME"
echo "hello world 2"
echo "plasma-apply-colorscheme -platform offscreen Arc" | at $TIME
'';
serviceConfig.Type = "oneshot";
@ -68,15 +58,10 @@
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs pkgs.bash ];
script = ''
ls /
echo "hello world"
whoami
id
source ~/.bashrc
# It doesn't get here for some reason
TIME=`cat /tmp/wttr.in | grep sunset | head -n 1 | awk {'print $2" "$3'} | sed -e 's/"//g' | sed -e 's/,//'`
echo "Time to run at: $TIME"
echo "hello world 2"
echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at $TIME
'';
serviceConfig.Type = "oneshot";