moved everything to base
This commit is contained in:
parent
b9fe764c47
commit
9f9ba9ac3d
3 changed files with 9 additions and 11 deletions
|
@ -23,8 +23,7 @@
|
|||
modules = [
|
||||
./nixosModules # TODO: move to base
|
||||
./hosts/work-ntb
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak # TODO: move to base
|
||||
inputs.home-manager.nixosModules.home-manager # TODO: move to base
|
||||
./hosts/base
|
||||
];
|
||||
specialArgs = {
|
||||
hostname = "work-ntb";
|
||||
|
|
|
@ -5,21 +5,20 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
hostname,
|
||||
...
|
||||
}:
|
||||
}@extraInputs:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
../${hostname}/hardware-configuration.nix
|
||||
extraInputs.inputs.nix-flatpak.nixosModules.nix-flatpak # TODO: move to base
|
||||
extraInputs.inputs.home-manager.nixosModules.home-manager # TODO: move to base
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = hostname; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. Not needed if using GNOME
|
||||
|
||||
# Configure network proxy if necessary
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
}:
|
||||
{
|
||||
imports = [
|
||||
(import ../base {
|
||||
inherit config pkgs;
|
||||
hostname = "work-ntb";
|
||||
})
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostName = "work-ntb"; # Define your hostname.
|
||||
|
||||
# My own modules configuration
|
||||
krop = {
|
||||
ide = {
|
||||
|
|
Loading…
Reference in a new issue