started migration to snowfall
This commit is contained in:
parent
091438d802
commit
5ba5d55108
100 changed files with 49 additions and 32 deletions
4
_hosts/aule/README.md
Normal file
4
_hosts/aule/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Description
|
||||
|
||||
My future build server, reasoning for the name being the following chain of thought:
|
||||
**Aule -> the smith -> smithing is building -> build server**
|
3
_hosts/manwe/README.md
Normal file
3
_hosts/manwe/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Description
|
||||
|
||||
My steambox.
|
37
_hosts/manwe/default.nix
Normal file
37
_hosts/manwe/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
fileSystems = {
|
||||
"/home/chris/games" = {
|
||||
device = "/dev/disk/by-label/games";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/home/chris/data" = {
|
||||
device = "/dev/disk/by-label/Data";
|
||||
fsType = "ntfs-3g";
|
||||
options = [ "rw" "uid=chris" ];
|
||||
};
|
||||
};
|
||||
|
||||
modules = {
|
||||
boot = {
|
||||
silentBoot = true;
|
||||
animatedBoot = true;
|
||||
};
|
||||
|
||||
desktop.gaming.enable = true;
|
||||
|
||||
system.audio.enable = true;
|
||||
|
||||
root = {
|
||||
user = {
|
||||
full_name = "__ROOT__";
|
||||
email = "__ROOT__@${config.networking.hostName}";
|
||||
};
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
35
_hosts/manwe/hardware.nix
Normal file
35
_hosts/manwe/hardware.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
fileSystems = {
|
||||
"/" ={
|
||||
device = "/dev/disk/by-uuid/8c4eaf57-fdb2-4c4c-bcc0-74e85a1c7985";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/C842-316A";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/0ddf001a-5679-482e-b254-04a1b9094794"; }
|
||||
];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelParams = [];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
45
_hosts/manwe/users/chris/default.nix
Normal file
45
_hosts/manwe/users/chris/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ ... }:
|
||||
{
|
||||
user = {
|
||||
full_name = "Chris Kruining";
|
||||
email = "chris@kruining.eu";
|
||||
is_trusted = true;
|
||||
};
|
||||
|
||||
themes = {
|
||||
enable = true;
|
||||
theme = "everforest";
|
||||
polarity = "dark";
|
||||
};
|
||||
|
||||
desktop = {
|
||||
plasma = {
|
||||
enable = true;
|
||||
autoLogin = true;
|
||||
};
|
||||
|
||||
applications = {
|
||||
steam.enable = true;
|
||||
};
|
||||
|
||||
terminal = {
|
||||
default = "ghostty";
|
||||
ghostty.enable = true;
|
||||
};
|
||||
|
||||
editors = {
|
||||
default = "nano";
|
||||
nano.enable = true;
|
||||
};
|
||||
|
||||
browsers = {
|
||||
default = "chromium";
|
||||
chrome.enable = true;
|
||||
ladybird.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
};
|
||||
}
|
4
_hosts/orome/README.md
Normal file
4
_hosts/orome/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Description
|
||||
|
||||
My work laptop, reasoning for the name being the following chain of thought:
|
||||
**Orome -> the huntsman -> hunting means leaving home -> work laptop travels with me**
|
20
_hosts/orome/default.nix
Normal file
20
_hosts/orome/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
modules = {
|
||||
system.audio.enable = true;
|
||||
system.bluetooth.enable = true;
|
||||
|
||||
authentication.himmelblau.enable = true;
|
||||
|
||||
root = {
|
||||
user = {
|
||||
full_name = "__ROOT__";
|
||||
email = "__ROOT__@${config.networking.hostName}";
|
||||
};
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
32
_hosts/orome/hardware.nix
Normal file
32
_hosts/orome/hardware.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/e60745c9-b3ea-4aeb-9c5c-b67ef1730826";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/42B3-C767";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelParams = [];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
services.logrotate.checkConfig = false;
|
||||
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
57
_hosts/orome/users/chris/default.nix
Normal file
57
_hosts/orome/users/chris/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{ ... }:
|
||||
{
|
||||
user = {
|
||||
full_name = "Chris Kruining";
|
||||
email = "chris@kruining.eu";
|
||||
is_trusted = true;
|
||||
};
|
||||
|
||||
themes = {
|
||||
enable = true;
|
||||
theme = "everforest";
|
||||
polarity = "dark";
|
||||
};
|
||||
|
||||
develop = {
|
||||
rust.enable = true;
|
||||
js.enable = true;
|
||||
dotnet.enable = true;
|
||||
};
|
||||
|
||||
desktop = {
|
||||
plasma = {
|
||||
enable = true;
|
||||
autoLogin = true;
|
||||
};
|
||||
|
||||
applications = {
|
||||
communication.enable = true;
|
||||
email.enable = true;
|
||||
office.enable = true;
|
||||
};
|
||||
|
||||
terminal = {
|
||||
default = "ghostty";
|
||||
ghostty.enable = true;
|
||||
};
|
||||
|
||||
editors = {
|
||||
default = "zed";
|
||||
vscodium.enable = true;
|
||||
zed.enable = true;
|
||||
nvim.enable = true;
|
||||
nano.enable = true;
|
||||
};
|
||||
|
||||
browsers = {
|
||||
default = "chromium";
|
||||
firefox.enable = true;
|
||||
chrome.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
};
|
||||
}
|
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;
|
||||
};
|
||||
}
|
4
_hosts/ulmo/README.md
Normal file
4
_hosts/ulmo/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Description
|
||||
|
||||
My current server, reasoning for the name being the following chain of thought:
|
||||
**Ulmo -> the king of the sea -> the sea provides -> services are provided -> server runs services**
|
34
_hosts/ulmo/default.nix
Normal file
34
_hosts/ulmo/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
config = {
|
||||
fileSystems."/var/media" = {
|
||||
device = "/dev/disk/by-label/data";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
modules = {
|
||||
networking = {
|
||||
ssh.enable = true;
|
||||
nfs.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
auth.authelia.enable = true;
|
||||
auth.zitadel.enable = true;
|
||||
media.enable = true;
|
||||
nextcloud.enable = true;
|
||||
};
|
||||
|
||||
root = {
|
||||
user = {
|
||||
full_name = "__ROOT__";
|
||||
email = "__ROOT__@${config.networking.hostName}";
|
||||
};
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
31
_hosts/ulmo/hardware.nix
Normal file
31
_hosts/ulmo/hardware.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ config, lib, modulesPath, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/dd518f17-61c9-4831-b1bd-e1cc2af292aa";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/0A56-EBFE";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelParams = [];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue