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
10
flake.nix
Normal file → Executable file
10
flake.nix
Normal file → Executable file
|
|
@ -45,6 +45,7 @@
|
|||
# Common desktop modules
|
||||
commonDesktopModules = [
|
||||
./systems/common.nix
|
||||
./systems/desktop.nix
|
||||
./users/jsutter.nix
|
||||
./desktop/plasma.nix
|
||||
./desktop/dev.nix
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
modules = commonDesktopModules ++ [
|
||||
./systems/labrizor.nix
|
||||
./users/jsutter.nix
|
||||
./desktop/3dprinting.nix
|
||||
./desktop/3dprinting.nix
|
||||
];
|
||||
};
|
||||
warp = mkSystem {
|
||||
|
|
@ -88,6 +89,13 @@
|
|||
./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
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
security.polkit.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
|
|
@ -103,7 +97,6 @@
|
|||
python3
|
||||
pv
|
||||
whois
|
||||
kdePackages.xdg-desktop-portal-kde
|
||||
fwupd
|
||||
usbutils # lsusb
|
||||
pciutils # lspci
|
||||
|
|
@ -113,23 +106,8 @@
|
|||
nvme-cli
|
||||
smartmontools
|
||||
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;
|
||||
|
||||
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, ... }: {
|
||||
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
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
@ -19,8 +28,6 @@
|
|||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
# No graphics support needed for headless server
|
||||
|
||||
# Power management optimized for server use
|
||||
powerManagement = {
|
||||
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, ... }: {
|
||||
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;
|
||||
|
||||
# Boot and kernel modules for Intel NUC
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
|
||||
# File system configuration - placeholder for actual hardware
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
fsType = "ext4";
|
||||
};
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ]; # No graphics drivers needed for headless
|
||||
boot.kernelModules = [ "kvm-intel" ]; # Intel virtualization support
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
# Server-specific kernel parameters
|
||||
boot.kernelParams = [
|
||||
"intel_iommu=on"
|
||||
"intel_iommu=on" # Enable IOMMU for virtualization
|
||||
];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
# No graphics support needed for headless server
|
||||
|
||||
# Power management optimized for server use
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
|
|
@ -46,16 +47,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Swap configuration
|
||||
# Swap configuration (smaller for server use)
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 8192;
|
||||
size = 8192; # 8GB swap for server workload
|
||||
priority = 0;
|
||||
}
|
||||
];
|
||||
|
||||
# Enable hardware monitoring
|
||||
# Enable hardware monitoring (CLI only)
|
||||
hardware.sensor.iio.enable = true;
|
||||
|
||||
# Network performance tuning for server use
|
||||
|
|
@ -70,9 +71,8 @@
|
|||
# Disable unnecessary services for server use
|
||||
services.xserver.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.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