1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Add altk host

This commit is contained in:
RGBCube 2024-06-26 18:13:17 +03:00
parent 906c606e36
commit 148af87194
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
6 changed files with 62 additions and 1 deletions

23
hosts/altk/default.nix Normal file
View file

@ -0,0 +1,23 @@
{ config, lib, ... }: with lib; merge
(systemConfiguration {
system.stateVersion = "24.11";
nixpkgs.hostPlatform = "x86_64-linux";
time.timeZone = "Europe/Istanbul";
secrets.saidPassword.file = ./password.said.age;
users.users = {
root.hashedPasswordFile = config.secrets.saidPassword.path;
said = sudoUser (desktopUser {
description = "Said";
hashedPasswordFile = config.secrets.saidPassword.path;
});
};
})
(homeConfiguration {
home.stateVersion = "24.11";
})

35
hosts/altk/hardware.nix Normal file
View file

@ -0,0 +1,35 @@
{ config, lib, ... }: with lib;
systemConfiguration {
boot.loader = {
systemd-boot = enabled {
editor = false;
};
efi.canTouchEfiVariables = true;
};
boot.initrd.availableKernelModules = [
"ahci"
"ehci_pci"
"sd_mod"
"sr_mod"
"usb_storage"
"usbhid"
];
fileSystems."/" = {
device = "/dev/disk/by-label/root";
fsType = "btrfs";
options = [ "noatime" ];
};
fileSystems.${config.boot.loader.efi.efiSysMountPoint} = {
device = "/dev/disk/by-label/boot";
fsType = "vfat";
options = [ "noatime" ];
};
hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode = true;
}

BIN
hosts/altk/id.age Normal file

Binary file not shown.

Binary file not shown.