whatever
This commit is contained in:
parent
be9fb9278e
commit
b8af0e9761
165 changed files with 1815 additions and 1431 deletions
7
hosts/insomniac/filesystems.nix
Normal file
7
hosts/insomniac/filesystems.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
fileSystems."/" = {
|
||||
fsType = "ext4";
|
||||
label = "main";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
}
|
6
hosts/insomniac/freetube.nix
Normal file
6
hosts/insomniac/freetube.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.freetube
|
||||
];
|
||||
}
|
32
hosts/insomniac/hardware.nix
Normal file
32
hosts/insomniac/hardware.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
inputs,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/installer/scan/not-detected.nix"
|
||||
|
||||
inputs.hardware.nixosModules.common-cpu-amd
|
||||
inputs.hardware.nixosModules.common-gpu-amd
|
||||
inputs.hardware.nixosModules.common-pc-ssd
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
kernelModules = [ "amdgpu" ];
|
||||
};
|
||||
kernelModules = [ "kvm-amd" ];
|
||||
};
|
||||
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
}
|
3
hosts/insomniac/system.nix
Normal file
3
hosts/insomniac/system.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
system.stateVersion = "24.11";
|
||||
}
|
14
hosts/insomniac/users.nix
Normal file
14
hosts/insomniac/users.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (config.users) mainUser;
|
||||
in
|
||||
{
|
||||
users = {
|
||||
mainUser = lib.mkForce "insomniac";
|
||||
users.${mainUser}.description = lib.mkForce "Insomniac";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue