move the module imports to the flake

This commit is contained in:
Andreas Zweili 2022-01-10 20:58:26 +01:00
parent 8e41a91d36
commit a4b40ea450
4 changed files with 10 additions and 20 deletions

View File

@ -63,7 +63,7 @@
{
nixosConfigurations = {
gwyn = mkComputer
./systems/gwyn/configuration.nix
./systems/gwyn
./home-manager/desktop.nix
[
nixos-hardware.nixosModules.dell-precision-5530
@ -71,7 +71,11 @@
./hardware/bluetooth
./hardware/nvidia
./modules/desktop
./modules/docker
./modules/droidcam
./modules/lockscreen
./modules/restic
./modules/xonsh
];
staubfinger = mkComputer
./systems/staubfinger/configuration.nix

View File

@ -1,13 +1,5 @@
{ pkgs, ... }:
{
imports = [
./docker
./droidcam
./restic
./xonsh
];
networking = {
networkmanager.enable = true;
};

View File

@ -1,11 +0,0 @@
{ ... }:
{
imports =
[
./hardware-configuration.nix
];
networking.hostName = "gwyn"; # Define your hostname.
virtualisation.virtualbox.host.enable = true;
}

View File

@ -27,8 +27,13 @@
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
networking.hostName = "gwyn"; # Define your hostname.
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
virtualisation.virtualbox.host.enable = true;
}