31 lines
691 B
Nix
31 lines
691 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
../../roles/all.nix
|
|
../../roles/laptop.nix
|
|
../../modules/luks.nix
|
|
../../modules/grub.nix
|
|
];
|
|
|
|
networking.hostName = "jimbo"; # Define your hostname.
|
|
|
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
|
networking.useDHCP = false;
|
|
networking.networkmanager.enable = true;
|
|
programs.nm-applet.enable = true;
|
|
|
|
hardware.opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
programs.ssh.startAgent = true;
|
|
|
|
system.stateVersion = "21.11"; # Did you read the comment?
|
|
|
|
}
|
|
|