Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 942cc13cf0 | |||
| f1e395fd30 | |||
| 0ebd91234e | |||
| 4a235fe1e1 |
@@ -1,11 +1,20 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.modules.nixos.gnome = {pkgs, ... }: {
|
flake.modules.nixos.gnome = {pkgs, ... }: {
|
||||||
|
services = {
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
displayManager.gdm = {
|
||||||
|
enable = true;
|
||||||
|
wayland = true;
|
||||||
|
banner = "Welcome to John's NixOS implementation";
|
||||||
|
};
|
||||||
|
udev.packages = [
|
||||||
|
pkgs.gnome-settings-daemon # For gnome systray icons
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
||||||
systemd.services."getty@tty1".enable = false;
|
systemd.services."getty@tty1".enable = false;
|
||||||
systemd.services."autovt@tty1".enable = false;
|
systemd.services."autovt@tty1".enable = false;
|
||||||
|
|
||||||
# For gnome systray icons
|
|
||||||
services.udev.packages = with pkgs; [ gnome-settings-daemon ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.modules.homeManager.gnome = { pkgs, ... }: {
|
flake.modules.homeManager.gnome = { pkgs, ... }: {
|
||||||
|
|||||||
@@ -108,8 +108,8 @@
|
|||||||
LC_TIME = "en_US.UTF-8";
|
LC_TIME = "en_US.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enables fingerprint sensor
|
services.libinput.enable = true; # Enable touchpad support (enabled default in most desktopManager).
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true; # Enables fingerprint sensor
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user