Compare commits

...

4 Commits

Author SHA1 Message Date
John Lancaster 942cc13cf0 displayManager settings 2026-03-26 17:38:12 -05:00
John Lancaster f1e395fd30 enabled touchpad support 2026-03-26 17:37:59 -05:00
John Lancaster 0ebd91234e enabled gnome desktopmanager 2026-03-26 17:31:42 -05:00
John Lancaster 4a235fe1e1 formatting 2026-03-26 17:31:22 -05:00
3 changed files with 15 additions and 7 deletions
+12 -3
View File
@@ -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, ... }: {
+2 -2
View File
@@ -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;
+1 -2
View File
@@ -1,10 +1,9 @@
{ self, inputs, ... }: { { self, inputs, ... }: {
flake.modules.nixos.p14sHardware = { config, lib, pkgs, modulesPath, ... }: { flake.modules.nixos.p14sHardware = { config, lib, pkgs, modulesPath, ... }: {
imports =[ imports = [
(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" ];