Move hosts to subfolders
This commit is contained in:
parent
58c41ab7ea
commit
99e9229b09
@ -32,17 +32,16 @@
|
||||
lift = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./sway.nix
|
||||
./hardware-configuration.nix
|
||||
./hosts/lift/configuration.nix
|
||||
./hosts/lift/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
tien = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
disko.nixosModules.disko
|
||||
./vps-configuration.nix
|
||||
./vps-hardware-configuration.nix
|
||||
./hosts/tien/configuration.nix
|
||||
./hosts/tien/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -1,12 +1,8 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
nixos/desktop/printing
|
||||
../../nixos/desktop/printing
|
||||
];
|
||||
|
||||
# Bootloader.
|
@ -1,9 +1,9 @@
|
||||
{ config, modulesPath, lib, pkgs, ... }:
|
||||
{ modulesPath, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
./vps-disk-config.nix
|
||||
./disk-config.nix
|
||||
];
|
||||
boot.loader.grub = {
|
||||
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
|
Loading…
x
Reference in New Issue
Block a user