skip
This commit is contained in:
parent
29eb6493be
commit
d03352736a
39 changed files with 67 additions and 46 deletions
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
README.md
Normal file → Executable file
0
README.md
Normal file → Executable file
0
appflakes/immich/README.md
Normal file → Executable file
0
appflakes/immich/README.md
Normal file → Executable file
0
appflakes/immich/flake.lock
generated
Normal file → Executable file
0
appflakes/immich/flake.lock
generated
Normal file → Executable file
0
appflakes/immich/flake.nix
Normal file → Executable file
0
appflakes/immich/flake.nix
Normal file → Executable file
0
appflakes/octofriend/README.md
Normal file → Executable file
0
appflakes/octofriend/README.md
Normal file → Executable file
0
appflakes/octofriend/flake.lock
generated
Normal file → Executable file
0
appflakes/octofriend/flake.lock
generated
Normal file → Executable file
0
appflakes/octofriend/flake.nix
Normal file → Executable file
0
appflakes/octofriend/flake.nix
Normal file → Executable file
|
|
@ -1 +0,0 @@
|
||||||
/nix/store/cmq4skpafnf055fyjmk8qxjhvbxl0xws-octofriend-git-6d9c260
|
|
||||||
0
desktop/3dprinting.nix
Normal file → Executable file
0
desktop/3dprinting.nix
Normal file → Executable file
0
desktop/daw.nix
Normal file → Executable file
0
desktop/daw.nix
Normal file → Executable file
0
desktop/dev.nix
Normal file → Executable file
0
desktop/dev.nix
Normal file → Executable file
0
desktop/dnm.nix
Normal file → Executable file
0
desktop/dnm.nix
Normal file → Executable file
0
desktop/gaming.nix
Normal file → Executable file
0
desktop/gaming.nix
Normal file → Executable file
0
desktop/media.nix
Normal file → Executable file
0
desktop/media.nix
Normal file → Executable file
0
desktop/office.nix
Normal file → Executable file
0
desktop/office.nix
Normal file → Executable file
0
desktop/plasma.nix
Normal file → Executable file
0
desktop/plasma.nix
Normal file → Executable file
0
desktop/stp-elc-udmshare.nix
Normal file → Executable file
0
desktop/stp-elc-udmshare.nix
Normal file → Executable file
0
desktop/tailscale.nix
Normal file → Executable file
0
desktop/tailscale.nix
Normal file → Executable file
0
desktop/virtualization.nix
Normal file → Executable file
0
desktop/virtualization.nix
Normal file → Executable file
0
docs/README-unstable and stable packages.md
Normal file → Executable file
0
docs/README-unstable and stable packages.md
Normal file → Executable file
0
docs/agents.md
Normal file → Executable file
0
docs/agents.md
Normal file → Executable file
0
flake.lock
generated
Normal file → Executable file
0
flake.lock
generated
Normal file → Executable file
8
flake.nix
Normal file → Executable file
8
flake.nix
Normal file → Executable file
|
|
@ -45,6 +45,7 @@
|
||||||
# Common desktop modules
|
# Common desktop modules
|
||||||
commonDesktopModules = [
|
commonDesktopModules = [
|
||||||
./systems/common.nix
|
./systems/common.nix
|
||||||
|
./systems/desktop.nix
|
||||||
./users/jsutter.nix
|
./users/jsutter.nix
|
||||||
./desktop/plasma.nix
|
./desktop/plasma.nix
|
||||||
./desktop/dev.nix
|
./desktop/dev.nix
|
||||||
|
|
@ -88,6 +89,13 @@
|
||||||
./systems/warp.nix
|
./systems/warp.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
skip = mkSystem {
|
||||||
|
modules = [
|
||||||
|
./systems/common.nix
|
||||||
|
./users/jsutter.nix
|
||||||
|
./systems/skip.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
0
servers/README.md
Normal file → Executable file
0
servers/README.md
Normal file → Executable file
0
servers/common.nix
Normal file → Executable file
0
servers/common.nix
Normal file → Executable file
0
servers/forgejo.nix
Normal file → Executable file
0
servers/forgejo.nix
Normal file → Executable file
0
servers/hugo.nix
Normal file → Executable file
0
servers/hugo.nix
Normal file → Executable file
0
systems/aurora.nix
Normal file → Executable file
0
systems/aurora.nix
Normal file → Executable file
22
systems/common.nix
Normal file → Executable file
22
systems/common.nix
Normal file → Executable file
|
|
@ -61,12 +61,6 @@
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
@ -103,7 +97,6 @@
|
||||||
python3
|
python3
|
||||||
pv
|
pv
|
||||||
whois
|
whois
|
||||||
kdePackages.xdg-desktop-portal-kde
|
|
||||||
fwupd
|
fwupd
|
||||||
usbutils # lsusb
|
usbutils # lsusb
|
||||||
pciutils # lspci
|
pciutils # lspci
|
||||||
|
|
@ -113,23 +106,8 @@
|
||||||
nvme-cli
|
nvme-cli
|
||||||
smartmontools
|
smartmontools
|
||||||
ripgrep
|
ripgrep
|
||||||
mesa-demos
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
noto-fonts-color-emoji
|
|
||||||
noto-fonts-cjk-sans
|
|
||||||
liberation_ttf
|
|
||||||
fira-code
|
|
||||||
fira-code-symbols
|
|
||||||
mplus-outline-fonts.githubRelease
|
|
||||||
dina-font
|
|
||||||
proggyfonts
|
|
||||||
];
|
|
||||||
|
|
||||||
services.xserver.excludePackages = [ pkgs.xterm ];
|
|
||||||
documentation.nixos.enable = false;
|
documentation.nixos.enable = false;
|
||||||
|
|
||||||
systemd.network.wait-online.enable = false;
|
systemd.network.wait-online.enable = false;
|
||||||
|
|
|
||||||
29
systems/desktop.nix
Executable file
29
systems/desktop.nix
Executable file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
kdePackages.xdg-desktop-portal-kde
|
||||||
|
mesa-demos
|
||||||
|
];
|
||||||
|
|
||||||
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
noto-fonts-color-emoji
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
liberation_ttf
|
||||||
|
fira-code
|
||||||
|
fira-code-symbols
|
||||||
|
mplus-outline-fonts.githubRelease
|
||||||
|
dina-font
|
||||||
|
proggyfonts
|
||||||
|
];
|
||||||
|
|
||||||
|
services.xserver.excludePackages = [ pkgs.xterm ];
|
||||||
|
}
|
||||||
0
systems/framework.nix
Normal file → Executable file
0
systems/framework.nix
Normal file → Executable file
0
systems/labrizor.nix
Normal file → Executable file
0
systems/labrizor.nix
Normal file → Executable file
13
systems/skip01.nix → systems/skip.nix
Normal file → Executable file
13
systems/skip01.nix → systems/skip.nix
Normal file → Executable file
|
|
@ -1,5 +1,14 @@
|
||||||
{ config, lib, pkgs, modulesPath, ... }: {
|
{ config, lib, pkgs, modulesPath, ... }: {
|
||||||
networking.hostName = "skip01";
|
networking.hostName = "skip";
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-partlabel/primary";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-partlabel/ESP";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
# CPU Settings for 13th gen Intel Core i5
|
# CPU Settings for 13th gen Intel Core i5
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
@ -19,8 +28,6 @@
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
||||||
# No graphics support needed for headless server
|
|
||||||
|
|
||||||
# Power management optimized for server use
|
# Power management optimized for server use
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
enable = true;
|
enable = true;
|
||||||
38
systems/warp.nix
Normal file → Executable file
38
systems/warp.nix
Normal file → Executable file
|
|
@ -1,32 +1,33 @@
|
||||||
{ config, lib, pkgs, modulesPath, ... }: {
|
{ config, lib, pkgs, modulesPath, ... }: {
|
||||||
networking.hostName = "warp";
|
networking.hostName = "skip01";
|
||||||
|
|
||||||
# CPU Settings for 13th gen Intel Core
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-partlabel/primary";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-partlabel/ESP";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
|
# CPU Settings for 13th gen Intel Core i5
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
# Boot and kernel modules for Intel NUC
|
# Boot and kernel modules for Intel NUC
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ]; # No graphics drivers needed for headless
|
||||||
# File system configuration - placeholder for actual hardware
|
boot.kernelModules = [ "kvm-intel" ]; # Intel virtualization support
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-label/nixos";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
boot.initrd.kernelModules = [];
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
# Server-specific kernel parameters
|
# Server-specific kernel parameters
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"intel_iommu=on"
|
"intel_iommu=on" # Enable IOMMU for virtualization
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
||||||
# No graphics support needed for headless server
|
|
||||||
|
|
||||||
# Power management optimized for server use
|
# Power management optimized for server use
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -46,16 +47,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Swap configuration
|
# Swap configuration (smaller for server use)
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
device = "/swapfile";
|
device = "/swapfile";
|
||||||
size = 8192;
|
size = 8192; # 8GB swap for server workload
|
||||||
priority = 0;
|
priority = 0;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable hardware monitoring
|
# Enable hardware monitoring (CLI only)
|
||||||
hardware.sensor.iio.enable = true;
|
hardware.sensor.iio.enable = true;
|
||||||
|
|
||||||
# Network performance tuning for server use
|
# Network performance tuning for server use
|
||||||
|
|
@ -70,9 +71,8 @@
|
||||||
# Disable unnecessary services for server use
|
# Disable unnecessary services for server use
|
||||||
services.xserver.enable = lib.mkForce false;
|
services.xserver.enable = lib.mkForce false;
|
||||||
services.pipewire.enable = lib.mkForce false;
|
services.pipewire.enable = lib.mkForce false;
|
||||||
services.flatpak.enable = lib.mkForce false;
|
|
||||||
|
|
||||||
# Enable container support for server services
|
# Enable container support for future server services
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.podman.enable = lib.mkDefault true;
|
virtualisation.podman.enable = lib.mkDefault true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
0
users/aksutter.nix
Normal file → Executable file
0
users/aksutter.nix
Normal file → Executable file
0
users/common-home.nix
Normal file → Executable file
0
users/common-home.nix
Normal file → Executable file
0
users/isutter.nix
Normal file → Executable file
0
users/isutter.nix
Normal file → Executable file
0
users/jsutter.nix
Normal file → Executable file
0
users/jsutter.nix
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue