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

View file

@ -56,6 +56,8 @@
icu icu
nextcloud-client nextcloud-client
lutris
]; ];
home.file = { 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 mangohud
vulkan-tools vulkan-tools
glxinfo 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 = { config = {
# intel cpu # intel cpu
boot.kernelModules = [ boot.kernelModules = [

View file

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

View file

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

View file

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

View file

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