nixos-config/home-pc.nix

38 lines
757 B
Nix
Raw Normal View History

2019-08-24 13:12:32 +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-nvidia.nix
./common/ledger.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
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
services.fwupd.enable = true;
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
}