Cleanup of code and modules. Fully modular config now. Cleanup unused and redundant packages. Fix shell alias

This commit is contained in:
2025-08-31 15:00:59 +02:00
parent ffd8112f61
commit ad08a4fa5c
9 changed files with 253 additions and 303 deletions

View File

@@ -1,31 +1,30 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
imports = [
./hardware-configuration.nix
./../../user/users.nix
./../../user/users.nix
./../../modules/common.nix
./../../modules/common.nix
./../../modules/hardware/xremap.nix
./../../modules/services/webdav.nix
./../../modules/graphics/workstation.nix
./../../modules/services/webdav.nix
./../../modules/hardware/nvidia.nix
];
./../../modules/graphics/workstation.nix
networking.hostName = "minoxy";
./../../modules/hardware/nvidia.nix
./../../modules/hardware/boot.nix
./../../modules/hardware/xremap.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "minoxy";
systemd.targets.sleep.enable = true;
systemd.targets.suspend.enable = true;
systemd.targets.sleep.enable = true;
systemd.targets.suspend.enable = true;
virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "btrfs";
virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "btrfs";
# Never change this!
system.stateVersion = "25.05";
# Never change this!
system.stateVersion = "25.05";
}

View File

@@ -9,25 +9,18 @@
./../../modules/common.nix
./../../modules/hardware/xremap.nix
./../../modules/hardware/battery.nix
./../../modules/hardware/boot.nix
./../../modules/laptop/powersave.nix
./../../modules/laptop/battery.nix
./../../modules/graphics/workstation.nix
./../../modules/services/webdav.nix.nix
./../../modules/services/scanning.nix.nix
./../../modules/services/webdav.nix
./../../modules/services/scanning.nix
];
networking.hostName = "nixyos";
batMode = "single";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking = {
networkmanager = {
wifi.powersave = true;
};
};
# Older machine
system.stateVersion = "24.11";

View File

@@ -9,10 +9,13 @@
./../../modules/common.nix
./../../modules/hardware/xremap.nix
./../../modules/hardware/battery.nix
./../../modules/hardware/boot.nix
./../../modules/graphics/workstation.nix
./../../modules/laptop/powersave.nix
./../../modules/laptop/battery.nix
./../../modules/services/webdav.nix.nix
./../../modules/services/scanning.nix.nix
];
@@ -20,21 +23,12 @@
networking.hostName = "thinix";
batMode = "double";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
programs.gnupg.agent = {
enable = true;
pinentryPackage = with pkgs; pinentry-all;
enableSSHSupport = true;
};
networking = {
networkmanager = {
wifi.powersave = true;
};
};
swapDevices = [
{
device = "/swapfile";
@@ -42,6 +36,5 @@
}
];
# Older machine
system.stateVersion = "24.11";
}