nixos-config/machines/jimbo/configuration.nix

31 lines
691 B
Nix
Raw Normal View History

2022-02-06 22:30:00 +00:00
{ config, pkgs, lib, ... }:
2022-02-06 23:01:27 +00:00
{
2022-01-25 00:13:49 +00:00
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../roles/all.nix
2022-06-21 13:34:34 +00:00
../../roles/laptop.nix
../../modules/luks.nix
../../modules/grub.nix
2022-01-25 00:13:49 +00:00
];
2022-01-24 21:40:22 +00:00
networking.hostName = "jimbo"; # Define your hostname.
2022-02-03 10:12:04 +00:00
2022-01-24 21:40:22 +00:00
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
networking.useDHCP = false;
networking.networkmanager.enable = true;
2022-02-03 10:12:04 +00:00
programs.nm-applet.enable = true;
2022-01-24 21:40:22 +00:00
hardware.opengl = {
enable = true;
driSupport = true;
};
services.openssh.enable = true;
programs.ssh.startAgent = true;
system.stateVersion = "21.11"; # Did you read the comment?
}