43 lines
958 B
Nix
43 lines
958 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
unstable = import <nixos-unstable> {
|
|
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
|
|
};
|
|
in
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
<home-manager/nixos>
|
|
./common/base-hardware.nix
|
|
./common/gpu-bumblebee.nix
|
|
./common/planck.nix
|
|
./common/system.nix
|
|
./common/nix.nix
|
|
./common/i18n.nix
|
|
./common/x11.nix
|
|
./common/gtk.nix
|
|
./common/gnome.nix
|
|
./common/docker.nix
|
|
];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
networking.hostName = "pilot1-nixos"; # Define your hostname.
|
|
|
|
virtualisation.virtualbox.host.enable = true;
|
|
|
|
users.users.felschr = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "audio" "docker" "disk" "vboxusers" ];
|
|
shell = pkgs.fish;
|
|
};
|
|
|
|
home-manager.users.felschr = import ./home/felschr-work.nix;
|
|
|
|
# only change this when specified in release notes
|
|
system.stateVersion = "19.09";
|
|
|
|
system.autoUpgrade.enable = true;
|
|
}
|