made some progress
This commit is contained in:
parent
5ba5d55108
commit
a9a4777168
35 changed files with 1176 additions and 44 deletions
4
systems/x86_64-linux/aule/README.md
Normal file
4
systems/x86_64-linux/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
systems/x86_64-linux/manwe/README.md
Normal file
3
systems/x86_64-linux/manwe/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Description
|
||||
|
||||
My steambox.
|
20
systems/x86_64-linux/manwe/default.nix
Normal file
20
systems/x86_64-linux/manwe/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }:
|
||||
let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./disks.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
sneeuwvlok = {
|
||||
preset = "desktop";
|
||||
|
||||
hardware.has = {
|
||||
gpu.amd = true;
|
||||
bluetooth = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
42
systems/x86_64-linux/manwe/disks.nix
Normal file
42
systems/x86_64-linux/manwe/disks.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
# TODO :: Implement disko at some point
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/0ddf001a-5679-482e-b254-04a1b9094794"; }
|
||||
];
|
||||
|
||||
boot.supportedFilesystems = [ "nfs" ];
|
||||
|
||||
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" ];
|
||||
};
|
||||
|
||||
"/home/chris/games" = {
|
||||
device = "/dev/disk/by-label/games";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
# TODO :: Reformat the disk to ext4
|
||||
"/home/chris/data" = {
|
||||
device = "/dev/disk/by-label/Data";
|
||||
fsType = "ntfs-3g";
|
||||
options = [ "rw" "uid=chris" ];
|
||||
};
|
||||
|
||||
"/home/chris/media" = {
|
||||
device = "ulmo:/";
|
||||
fsType = "nfs";
|
||||
};
|
||||
};
|
||||
}
|
18
systems/x86_64-linux/manwe/hardware.nix
Normal file
18
systems/x86_64-linux/manwe/hardware.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, pkgs, modulesPath, system, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelParams = [];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = mkDefault system;
|
||||
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
4
systems/x86_64-linux/orome/README.md
Normal file
4
systems/x86_64-linux/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**
|
17
systems/x86_64-linux/orome/default.nix
Normal file
17
systems/x86_64-linux/orome/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./disks.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
sneeuwvlok = {
|
||||
preset = "desktop";
|
||||
|
||||
bluetooth.enable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
23
systems/x86_64-linux/orome/disks.nix
Normal file
23
systems/x86_64-linux/orome/disks.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
# TODO :: Implement disko at some point
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
boot.supportedFilesystems = [ "nfs" ];
|
||||
|
||||
fileSystems = {
|
||||
"/" = { device = "/dev/disk/by-uuid/e60745c9-b3ea-4aeb-9c5c-b67ef1730826";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/42B3-C767";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
};
|
||||
}
|
18
systems/x86_64-linux/orome/hardware.nix
Normal file
18
systems/x86_64-linux/orome/hardware.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, pkgs, modulesPath, system, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelParams = [];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = mkDefault system;
|
||||
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
3
systems/x86_64-linux/tulkas/README.md
Normal file
3
systems/x86_64-linux/tulkas/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Description
|
||||
|
||||
Steamdeck
|
16
systems/x86_64-linux/tulkas/default.nix
Normal file
16
systems/x86_64-linux/tulkas/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./disks.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
sneeuwvlok = {
|
||||
preset = "desktop";
|
||||
desktop.use = "gamescope";
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
23
systems/x86_64-linux/tulkas/disks.nix
Normal file
23
systems/x86_64-linux/tulkas/disks.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
# TODO :: Implement disko at some point
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/beddca5c-1ecc-4a46-9fc5-fd918eed8f2a"; }
|
||||
];
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/aa438c4c-d193-436b-91ca-c386c0688265";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/89B8-0702";
|
||||
fsType = "vfat";
|
||||
};
|
||||
};
|
||||
}
|
18
systems/x86_64-linux/tulkas/hardware.nix
Normal file
18
systems/x86_64-linux/tulkas/hardware.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, pkgs, modulesPath, system, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-amd" ];
|
||||
kernelParams = [];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = mkDefault system;
|
||||
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
19
systems/x86_64-linux/ulmo/default.nix
Normal file
19
systems/x86_64-linux/ulmo/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ ... }:
|
||||
let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./disks.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
sneeuwvlok = {
|
||||
preset = "server";
|
||||
|
||||
services = {
|
||||
media.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
31
systems/x86_64-linux/ulmo/disks.nix
Normal file
31
systems/x86_64-linux/ulmo/disks.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
# TODO :: Implement disko at some point
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/0ddf001a-5679-482e-b254-04a1b9094794"; }
|
||||
];
|
||||
|
||||
boot.supportedFilesystems = [ "nfs" ];
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/dd518f17-61c9-4831-b1bd-e1cc2af292aa";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/0A56-EBFE";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
"/var/media" = {
|
||||
device = "/dev/disk/by-label/data";
|
||||
fsType = "ext4";
|
||||
};
|
||||
};
|
||||
}
|
18
systems/x86_64-linux/ulmo/hardware.nix
Normal file
18
systems/x86_64-linux/ulmo/hardware.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, pkgs, modulesPath, system, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelParams = [];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = mkDefault system;
|
||||
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue