re-split direcories #1

Merged
vinzenz merged 28 commits from modules into main 2025-09-15 19:44:30 +02:00
12 changed files with 69 additions and 83 deletions
Showing only changes of commit 1f1b901330 - Show all commits

View file

@ -129,6 +129,11 @@
"nix-command"
"flakes"
];
documentation = {
info.enable = false; # info pages and the info command
doc.enable = false; # documentation distributed in packages' /share/doc
};
}
./nixosConfigurations/${device}
@ -140,7 +145,6 @@
self.nixosModules.tailscale
self.nixosModules.allowed-unfree-list
self.nixosModules.extra-caches
./modules/nixpkgs.nix
zerforschen-plus.nixosModules.default
]

View file

@ -56,6 +56,8 @@
icu
nextcloud-client
lutris
];
home.file = {

View file

@ -1,22 +0,0 @@
{ pkgs, config, ... }:
{
config = {
boot.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
hardware = {
graphics.enable = true;
amdgpu = {
opencl.enable = true;
amdvlk = {
# TODO: this creates black borders around GNOME apps
# enable = true;
# support32Bit.enable = config.hardware.graphics.enable32Bit;
};
overdrive.enable = true;
};
};
environment.systemPackages = with pkgs; [ nvtopPackages.amd ];
};
}

View file

@ -19,12 +19,7 @@
mangohud
vulkan-tools
glxinfo
lutris
];
networking.firewall.allowedUDPPorts = [
# Factorio
34197
];
};
}

View file

@ -1,9 +0,0 @@
{
documentation = {
enable = true; # documentation of packages
nixos.enable = false; # nixos documentation
man.enable = true; # manual pages and the man command
info.enable = false; # info pages and the info command
doc.enable = false; # documentation distributed in packages' /share/doc
};
}

View file

@ -1,6 +1,6 @@
{ lib, ... }:
{ lib, vinzenzNixosModules, ... }:
{
imports = [ ../../modules/intel-graphics.nix ];
imports = [ vinzenzNixosModules.intel-graphics ];
config = {
# intel cpu
boot.kernelModules = [

View file

@ -1,11 +1,5 @@
{ pkgs, ... }:
{
imports = [
./hardware.nix
./vscode-server.nix
./hass.nix
];
config = {
nix.settings.extra-platforms = [
"aarch64-linux"
"i686-linux"
@ -32,5 +26,9 @@
];
environment.systemPackages = with pkgs; [ lact ];
};
networking.firewall.allowedUDPPorts = [
# Factorio
34197
];
}

View file

@ -3,6 +3,8 @@
imports = [
./configuration.nix
./hardware.nix
./vscode-server.nix
./hass.nix
../../modules/gnome.nix
../../modules/gaming.nix

View file

@ -1,6 +1,6 @@
{ ... }:
{ vinzenzNixosModules, ... }:
{
imports = [ ../../modules/amd-graphics.nix ];
imports = [ vinzenzNixosModules.amd-graphics ];
config = {
# amd cpu
boot.kernelModules = [ "kvm-amd" ];

View file

@ -15,9 +15,7 @@
];
};
networking = {
firewall = {
allowedTCPPorts = [
networking.firewall.allowedTCPPorts = [
8542
8543
8544
@ -25,6 +23,4 @@
1313
5201
];
};
};
}

View file

@ -0,0 +1,20 @@
{ pkgs, ... }:
{
boot.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
hardware = {
graphics.enable = true;
amdgpu = {
opencl.enable = true;
amdvlk = {
# TODO: this creates black borders around GNOME apps
# enable = true;
# support32Bit.enable = config.hardware.graphics.enable32Bit;
};
overdrive.enable = true;
};
};
environment.systemPackages = with pkgs; [ nvtopPackages.amd ];
}