init repos

This commit is contained in:
2026-06-19 05:47:33 +02:00
commit d5d15832f5
20 changed files with 534 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./disko.nix
../../modules/system/boot.nix
../../modules/system/locale.nix
../../modules/system/network.nix
../../modules/system/users.nix
../../modules/desktop/hyprland.nix
../../modules/desktop/audio.nix
../../modules/desktop/fonts.nix
../../modules/hardware/amd-gpu.nix
../../modules/hardware/ollama.nix
../../modules/system/packages.nix
../../modules/system/nfs.nix
../../modules/desktop/packages.nix
../../modules/desktop/gaming.nix
];
networking.hostName = "nixos-desktop";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "25.11";
}

View File

@@ -0,0 +1,66 @@
{
disko.devices = {
disk = {
system = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
home = {
type = "disk";
device = "/dev/sdb";
content = {
type = "gpt";
partitions = {
home = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/home";
};
};
};
};
};
models = {
type = "disk";
device = "/dev/sdc";
content = {
type = "gpt";
partitions = {
models = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/var/lib/private/ollama";
};
};
};
};
};
};
};
}

View File

@@ -0,0 +1,40 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
# fileSystems."/" =
# { device = "/dev/disk/by-uuid/1185d3bc-bd55-42fb-a7ef-9d405e05f871";
# fsType = "ext4";
# };
# fileSystems."/boot" =
# { device = "/dev/disk/by-uuid/F439-1F8B";
# fsType = "vfat";
# options = [ "fmask=0022" "dmask=0022" ];
# };
# fileSystems."/home" =
# { device = "/dev/disk/by-uuid/425c456e-52ad-429f-b804-5ebef8c1185a";
# fsType = "ext4";
# };
# fileSystems."/var/lib/private/ollama" =
# { device = "/dev/disk/by-uuid/8f9ff952-b34a-4f22-b6c7-abf815216967";
# fsType = "ext4";
# };
# swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

View File

@@ -0,0 +1,23 @@
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules/system/boot.nix
../../modules/system/locale.nix
../../modules/system/network.nix
../../modules/system/users.nix
../../modules/system/packages.nix
../../modules/system/nfs.nix
../../modules/desktop/hyprland.nix
../../modules/desktop/audio.nix
../../modules/desktop/fonts.nix
../../modules/desktop/packages.nix
];
networking.hostName = "nixos-laptop";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "25.11";
}