started migration to snowfall
This commit is contained in:
parent
e293e87124
commit
c8f6c4d818
100 changed files with 49 additions and 32 deletions
3
_hosts/tulkas/README.md
Normal file
3
_hosts/tulkas/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Description
|
||||
|
||||
Steamdeck
|
22
_hosts/tulkas/default.nix
Normal file
22
_hosts/tulkas/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
32
_hosts/tulkas/hardware.nix
Normal file
32
_hosts/tulkas/hardware.nix
Normal 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;
|
||||
}
|
33
_hosts/tulkas/users/chris/default.nix
Normal file
33
_hosts/tulkas/users/chris/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue