Skip to content

Commit

Permalink
treewide: simplify modules imports
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Sep 20, 2023
1 parent ca6b998 commit 9a255e2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 14 deletions.
1 change: 0 additions & 1 deletion hosts/miku-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ in
imports = [
./hardware-configuration.nix
../../nixos
../../nixos/cross-compiling.nix
../../nixos/games.nix
inputs.hardware.nixosModules.common-cpu-intel
];
Expand Down
10 changes: 1 addition & 9 deletions hosts/mirai-vps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
[
# Include the results of the hardware scan.
./hardware-configuration.nix
../../nixos/home.nix
../../nixos/minimal.nix
../../nixos/server
../../nixos
];

nixos.home.imports = [
Expand Down Expand Up @@ -50,11 +48,5 @@
# Define on which hard drive you want to install Grub.
boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only

# Enable IPv6
boot.kernel.sysctl = {
"net.ipv6.conf.ens3.autoconf" = 0;
"net.ipv6.conf.ens3.accept_ra" = 0;
};

networking.hostName = "mirai-vps";
}
1 change: 0 additions & 1 deletion hosts/sankyuu-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ in
imports = [
./hardware-configuration.nix
../../nixos
../../nixos/cross-compiling.nix
../../nixos/games.nix
inputs.hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
];
Expand Down
4 changes: 1 addition & 3 deletions hosts/zatsune-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
[
# Include the results of the hardware scan.
./hardware-configuration.nix
../../nixos/home.nix
../../nixos/minimal.nix
../../nixos/server
../../nixos
];

nixos.home.imports = [
Expand Down
1 change: 1 addition & 0 deletions nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
imports = [
./audio.nix
./cross-compiling.nix
./desktop
./dev
./fonts.nix
Expand Down

0 comments on commit 9a255e2

Please sign in to comment.