nixos-config/work-pc.nix

44 lines
953 B
Nix
Raw Normal View History

2019-10-18 20:05:36 +02:00
{ config, pkgs, ... }:
{
2019-10-19 12:55:35 +02:00
imports = [
./hardware-configuration.nix
<home-manager/nixos>
./common/base-hardware.nix
./common/gpu-bumblebee.nix
2019-10-21 16:55:37 +02:00
./common/planck.nix
2019-10-19 12:55:35 +02:00
./common/system.nix
./common/nix.nix
./common/i18n.nix
./common/x11.nix
./common/gtk.nix
./common/gnome.nix
./common/docker.nix
2019-10-18 20:05:36 +02:00
];
2019-10-19 12:55:35 +02:00
nixpkgs.config.allowUnfree = true;
2019-10-18 20:05:36 +02:00
networking.hostName = "pilot1-nixos"; # Define your hostname.
virtualisation.virtualbox.host.enable = true;
2019-12-12 15:40:55 +01:00
hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode = true;
2019-10-18 20:05:36 +02:00
users.users.felschr = {
isNormalUser = true;
2019-10-19 12:55:35 +02:00
extraGroups = [ "wheel" "audio" "docker" "disk" "vboxusers" ];
2019-10-18 20:05:36 +02:00
shell = pkgs.fish;
};
2019-10-19 12:55:35 +02:00
home-manager.users.felschr = import ./home/felschr-work.nix;
2019-10-18 20:05:36 +02:00
2019-10-19 12:55:35 +02:00
# only change this when specified in release notes
system.stateVersion = "19.09";
2019-10-18 20:05:36 +02:00
2019-11-04 10:01:05 +01:00
system.autoUpgrade = {
enable = true;
dates = "10:00";
};
2019-10-18 20:05:36 +02:00
}