nixos-config/home-pc.nix

37 lines
736 B
Nix

{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
<home-manager/nixos>
./hardware/base.nix
./hardware/gpu-nvidia.nix
./hardware/ledger.nix
./system
./desktop
];
nixpkgs.config.allowUnfree = true;
networking.hostName = "felix-nixos";
hardware.enableAllFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
services.fwupd.enable = true;
programs.adb.enable = true;
users.users.felschr = {
isNormalUser = true;
extraGroups = [ "wheel" "audio" ];
shell = pkgs.fish;
};
home-manager.users.felschr = import ./home/felschr.nix;
# only change this when specified in release notes
system.stateVersion = "19.09";
system.autoUpgrade.enable = true;
}