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 = [
|
modules = [
|
||||||
./nixosModules # TODO: move to base
|
./nixosModules # TODO: move to base
|
||||||
./hosts/work-ntb
|
./hosts/work-ntb
|
||||||
inputs.nix-flatpak.nixosModules.nix-flatpak # TODO: move to base
|
./hosts/base
|
||||||
inputs.home-manager.nixosModules.home-manager # TODO: move to base
|
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
hostname = "work-ntb";
|
hostname = "work-ntb";
|
||||||
|
|
|
@ -5,21 +5,20 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
hostname,
|
|
||||||
...
|
...
|
||||||
}:
|
}@extraInputs:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
extraInputs.inputs.nix-flatpak.nixosModules.nix-flatpak # TODO: move to base
|
||||||
../${hostname}/hardware-configuration.nix
|
extraInputs.inputs.home-manager.nixosModules.home-manager # TODO: move to base
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = 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
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. Not needed if using GNOME
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(import ../base {
|
# Include the results of the hardware scan.
|
||||||
inherit config pkgs;
|
./hardware-configuration.nix
|
||||||
hostname = "work-ntb";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostName = "work-ntb"; # Define your hostname.
|
||||||
|
|
||||||
# My own modules configuration
|
# My own modules configuration
|
||||||
krop = {
|
krop = {
|
||||||
ide = {
|
ide = {
|
||||||
|
|
Loading…
Reference in a new issue