nixos-config/work-pc.nix

43 lines
958 B
Nix
Raw Normal View History

2019-10-18 20:05:36 +02:00
{ config, pkgs, ... }:
let
unstable = import <nixos-unstable> {
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
};
in
{
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;
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
system.autoUpgrade.enable = true;
}