diff --git a/configuration.nix b/configuration.nix index e66ffaa..364ef22 100755 --- a/configuration.nix +++ b/configuration.nix @@ -10,6 +10,7 @@ ./hardware-configuration.nix ./desktop-environment.nix ./terminal-environment.nix + ./cron-schedule.nix ]; # Bootloader. @@ -78,5 +79,5 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "25.11"; + system.stateVersion = "25.05"; } diff --git a/cron-schedule.nix b/cron-schedule.nix new file mode 100644 index 0000000..600420d --- /dev/null +++ b/cron-schedule.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: +{ + + # Enable cron service + services.cron = { + enable = true; + systemCronJobs = [ + "0 0 * * * root reboot" + ]; + }; + +} diff --git a/desktop-environment.nix b/desktop-environment.nix index 74be1a5..ca2970e 100644 --- a/desktop-environment.nix +++ b/desktop-environment.nix @@ -23,7 +23,6 @@ services.dbus.enable = true; programs.dconf.enable = true; hardware.graphics.enable = true; - hardware.opengl.enable = true; services.greetd = { enable = true; diff --git a/terminal-environment.nix b/terminal-environment.nix index cd91ac6..4107618 100644 --- a/terminal-environment.nix +++ b/terminal-environment.nix @@ -48,9 +48,9 @@ "emoji-clock" "fzf" "kitty" - "sudo" "themes" "tmux" + "vi-mode" ]; theme = "sonicradish"; };