started migration to snowfall

This commit is contained in:
Chris Kruining 2025-07-23 10:03:10 +02:00
parent e293e87124
commit c8f6c4d818
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
100 changed files with 49 additions and 32 deletions

3
_hosts/tulkas/README.md Normal file
View file

@ -0,0 +1,3 @@
# Description
Steamdeck

22
_hosts/tulkas/default.nix Normal file
View file

@ -0,0 +1,22 @@
{ lib, config, ... }:let
inherit (lib) mkForce;
in
{
modules = {
system.audio.enable = true;
desktop.gaming.enable = true;
root = {
user = {
full_name = "__ROOT__";
email = "__ROOT__@${config.networking.hostName}";
};
shell = {
default = "zsh";
toolset.git.enable = mkForce false;
};
};
};
}

View file

@ -0,0 +1,32 @@
{ config, lib, modulesPath, ... }:
let
inherit (lib.modules) mkDefault;
in
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/aa438c4c-d193-436b-91ca-c386c0688265";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/89B8-0702";
fsType = "vfat";
};
swapDevices = [
{ device = "/dev/disk/by-uuid/beddca5c-1ecc-4a46-9fc5-fd918eed8f2a"; }
];
boot = {
initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-amd" ];
kernelParams = [];
extraModulePackages = [ ];
};
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -0,0 +1,33 @@
{ lib, ... }: let
inherit (lib) mkForce;
in
{
user = {
full_name = "Chris Kruining";
email = "chris@kruining.eu";
is_trusted = true;
};
themes = {
enable = true;
theme = "everforest";
polarity = "dark";
};
desktop = {
terminal = {
default = "ghostty";
ghostty.enable = true;
};
editors = {
default = "nano";
nano.enable = true;
};
};
shell = {
default = "zsh";
toolset.git.enable = mkForce false;
};
}