Clean up aspi and kardorf configs

This commit is contained in:
2025-04-28 22:02:24 +02:00
parent c217e3297b
commit 7d17c52192
19 changed files with 197 additions and 250 deletions

View File

@ -11,15 +11,25 @@
./fish.nix # fish for admin
./locale.nix
./nix.nix
./podman.nix
./sops.nix
./xserver.nix
./root.nix
]
++ [
inputs.home-manager.nixosModules.home-manager
]
++ (builtins.attrValues outputs.nixosModules);
# Replaces the (modulesPath + "/installer/scan/not-detected.nix") from default hardware-configuration.nix
# Enables non-free firmware
hardware.enableRedistributableFirmware = true;
# Networking
networking.networkmanager.enable = true;
services.resolved.enable = true;
programs.dconf.enable = true;
# HM
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = {
inherit inputs outputs;

View File

@ -21,4 +21,6 @@
};
console.keyMap = "de";
time.timeZone = "Europe/Berlin";
}

View File

@ -1,12 +0,0 @@
{ config, ... }:
let
dockerEnabled = config.virtualisation.docker.enable;
in
{
virtualisation.podman = {
enable = true;
dockerCompat = !dockerEnabled;
dockerSocket.enable = !dockerEnabled;
defaultNetwork.settings.dns_enabled = true;
};
}

View File

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
# Packages needed as root
environment.systemPackages = with pkgs; [
vim
htop
mc
gparted-xhost # needs to be installed as system package so it can be actually opened
];
}

View File

@ -1,6 +0,0 @@
{
services.xserver = {
enable = true;
wacom.enable = true;
};
}