initial migration
This commit is contained in:
parent
01fb98ba10
commit
59a1fbaf0f
54 changed files with 522 additions and 613 deletions
4
machines/orome/README.md
Normal file
4
machines/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**
|
||||
30
machines/orome/configuration.nix
Normal file
30
machines/orome/configuration.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./disks.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
azure-cli
|
||||
github-copilot-cli
|
||||
];
|
||||
|
||||
sneeuwvlok = {
|
||||
hardware.has = {
|
||||
bluetooth = true;
|
||||
audio = true;
|
||||
};
|
||||
|
||||
services.authentication.himmelblau.enable = true;
|
||||
|
||||
application = {
|
||||
steam.enable = true;
|
||||
};
|
||||
|
||||
editor = {
|
||||
nano.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
3
machines/orome/default.nix
Normal file
3
machines/orome/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{ ... }: {
|
||||
imports = [ ./configuration.nix ];
|
||||
}
|
||||
23
machines/orome/disks.nix
Normal file
23
machines/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
machines/orome/hardware.nix
Normal file
18
machines/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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue