merge hw config and machine config

This commit is contained in:
Vinzenz Schroeter 2023-09-02 14:53:25 +02:00
parent 786a6703fd
commit f1b46e56bf
6 changed files with 105 additions and 140 deletions

View file

@ -6,7 +6,7 @@
imports = [
# enable home manager
<home-manager/nixos>
./home.nix
(modulesPath + "/installer/scan/not-detected.nix")
];
nixpkgs.config = {
@ -25,10 +25,6 @@
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
# wireless.userControlled.enable = true;
# Configure network proxy if necessary
# proxy.default = "http://user:password@proxy:port/";
# proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking
networkmanager.enable = true;
@ -103,33 +99,11 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#media-session.enable = true;
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
system = {
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
stateVersion = "22.11"; # Did you read the comment?
# enable auto updates
autoUpgrade.enable = true;
stateVersion = "22.11";
autoUpgrade.enable = true; # enable auto updates
};
nix.gc = {