moved everything to base

This commit is contained in:
Jakub Kropáček 2024-09-20 23:15:30 +02:00
parent b9fe764c47
commit 9f9ba9ac3d
3 changed files with 9 additions and 11 deletions

View file

@ -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";

View file

@ -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

View file

@ -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 = {