diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-20 11:18:51 +0800 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-20 11:18:51 +0800 |
commit | 3084dbcb7f1176fe4c0aaa05972e5b793b682ba3 (patch) | |
tree | 9d720cd38f16d449c230e1c197c3f100e2ff4266 /nixos/configuration.nix | |
parent | 370669f99f4001072ee5819e76896fa7445d8674 (diff) | |
download | nixos-configuration-3084dbcb7f1176fe4c0aaa05972e5b793b682ba3.tar.gz nixos-configuration-3084dbcb7f1176fe4c0aaa05972e5b793b682ba3.tar.bz2 nixos-configuration-3084dbcb7f1176fe4c0aaa05972e5b793b682ba3.zip |
feat: grub and greetd setups
grub: changed theme to distro-grub-themes
kernel: upgraded to linux zen kernel
greetd: configured tuigreet with greetd to replace sddm
Diffstat (limited to 'nixos/configuration.nix')
-rw-r--r-- | nixos/configuration.nix | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 784aeb7..6af8188 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -9,7 +9,8 @@ }: { imports = [ ../common/variables.nix - #./greetd-sway.nix + ./greetd.nix + ./grub.nix ./nvidia.nix ./fonts.nix ./services/laptop.preset.nix @@ -55,33 +56,21 @@ }; boot = { - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages_zen; supportedFilesystems = ["ntfs"]; - loader = { - efi.canTouchEfiVariables = true; - grub = { - enable = true; - useOSProber = true; - efiSupport = true; - fsIdentifier = "label"; - devices = ["nodev"]; - extraEntries = '' - menuentry "Reboot" { - reboot - } - menuentry "Poweroff" { - halt - } - ''; - }; - }; }; security.polkit.enable = true; + environment.systemPackages = with pkgs; [ + libsForQt5.qt5.qtquickcontrols2 + libsForQt5.qt5.qtgraphicaleffects + ]; + time.hardwareClockInLocalTime = true; services = { - displayManager.sddm = { - enable = true; - wayland.enable = true; - }; + #displayManager.sddm = { + # enable = true; + # wayland.enable = true; + # theme = "${import ./sddm-theme.nix {inherit pkgs;}}"; + #}; automatic-timezoned.enable = true; openssh = { enable = true; |