2019-08-24 13:12:32 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
2019-08-27 00:46:15 +02:00
|
|
|
unstable = import <nixos-unstable> {
|
|
|
|
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
|
|
|
|
};
|
2019-08-24 13:12:32 +02:00
|
|
|
in
|
|
|
|
{
|
2019-10-19 12:55:35 +02:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
<home-manager/nixos>
|
|
|
|
./common/base-hardware.nix
|
|
|
|
./common/gpu-nvidia.nix
|
|
|
|
./common/ledger.nix
|
|
|
|
./common/system.nix
|
|
|
|
./common/nix.nix
|
|
|
|
./common/i18n.nix
|
|
|
|
./common/x11.nix
|
|
|
|
./common/gtk.nix
|
|
|
|
./common/gnome.nix
|
2019-08-24 13:12:32 +02:00
|
|
|
];
|
|
|
|
|
2019-10-19 12:55:35 +02:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2019-08-24 13:12:32 +02:00
|
|
|
|
2019-10-19 12:55:35 +02:00
|
|
|
networking.hostName = "felix-nixos";
|
2019-08-24 13:12:32 +02:00
|
|
|
|
|
|
|
users.users.felschr = {
|
|
|
|
isNormalUser = true;
|
2019-10-19 12:55:35 +02:00
|
|
|
extraGroups = [ "wheel" "audio" ];
|
2019-08-24 13:12:32 +02:00
|
|
|
shell = pkgs.fish;
|
|
|
|
};
|
2019-10-19 12:55:35 +02:00
|
|
|
|
2019-08-24 13:12:32 +02:00
|
|
|
home-manager.users.felschr = import ./home/felschr.nix;
|
|
|
|
|
2019-10-19 12:55:35 +02:00
|
|
|
# only change this when specified in release notes
|
|
|
|
system.stateVersion = "19.09";
|
2019-10-19 09:14:56 +02:00
|
|
|
|
|
|
|
system.autoUpgrade.enable = true;
|
2019-08-24 13:12:32 +02:00
|
|
|
}
|