refactor(treewide): cleanup
This commit is contained in:
parent
2fe6c44941
commit
2d93503bbc
30 changed files with 76 additions and 273 deletions
|
|
@ -1,33 +1,40 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
{ lib, config, inputs, pkgs, ... }:
|
||||
|
||||
let
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBn3ff3HaZHIyH4K13k8Mwqu/o7jIABJ8rANK+r2PfJk";
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../profiles
|
||||
];
|
||||
../../modules
|
||||
];
|
||||
|
||||
activeProfiles = ["base" "gaming"];
|
||||
|
||||
systemModules.user = {
|
||||
ooks.enable = true;
|
||||
systemModules.host = {
|
||||
name = "ooksdesk";
|
||||
type = "desktop";
|
||||
function = [ "workstation" "gaming" ];
|
||||
admin = {
|
||||
name = "ooks";
|
||||
shell = "fish";
|
||||
sshKey = key;
|
||||
};
|
||||
|
||||
systemModules.hardware = {
|
||||
hardware = {
|
||||
cpu.type = "amd";
|
||||
cpu.amd.pstate.enable = true;
|
||||
gpu.type = "amd";
|
||||
features = [ "ssd" ];
|
||||
};
|
||||
};
|
||||
|
||||
systemModules.networking.tailscale = {
|
||||
enable = true;
|
||||
client = true;
|
||||
};
|
||||
systemModules.networking.tailscale = {
|
||||
enable = true;
|
||||
client = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "ooksdesk";
|
||||
# useDHCP = true;
|
||||
};
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
};
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
};
|
||||
|
||||
system.stateVersion = lib.mkDefault "23.11";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue