moved network manager out of environments

This commit is contained in:
Leyla Becker 2024-11-25 01:11:22 -06:00
parent 4d191a27cc
commit cef6ad7125
6 changed files with 6 additions and 10 deletions

View file

@ -1,7 +1,5 @@
{pkgs, ...}: {
imports = [
../common
];
imports = [];
environment.systemPackages = with pkgs; [
cachefilesd

View file

@ -1,4 +0,0 @@
{...}: {
# Enable networking
networking.networkmanager.enable = true;
}

View file

@ -12,9 +12,7 @@
httpsPort = 443;
isDebug = false;
in {
imports = [
../common
];
imports = [];
options = {
apps = {

View file

@ -184,6 +184,8 @@
};
};
networking.networkmanager.enable = true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = {
# TODO: hardware graphics

View file

@ -87,6 +87,7 @@
];
networking = {
networkmanager.enable = true;
useDHCP = lib.mkDefault true;
hostName = "horizon"; # Define your hostname.
};

View file

@ -69,6 +69,7 @@
swapDevices = [];
networking = {
networkmanager.enable = true;
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction