attempting to use a flake

This commit is contained in:
Jay Looney 2024-11-13 17:45:12 -06:00
parent d3eb6e3d81
commit c46c131bc2
2 changed files with 27 additions and 6 deletions

View file

@ -2,12 +2,12 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, nixos-hardware, ... }:
{
imports =
[ # Include the results of the hardware scan.
<nixos-hardware/gpd/pocket-3>
#nixos-hardware.nixosModules.gpd-pocket-3
./hardware-configuration.nix
];
@ -47,13 +47,13 @@
services.xserver.desktopManager.gnome.enable = true;
# Configure keymap in X11
services.xserver.layout = "us";
services.xserver.xkb.layout = "us";
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable sound with pipewire.
sound.enable = true;
# sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
@ -83,8 +83,8 @@
};
# Enable automatic login for the user.
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "jml";
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "jml";
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;