refactor: inputs/ --> {sys,home}/

This commit is contained in:
ooks-io 2024-05-26 14:57:35 +12:00
parent 8f22a24963
commit f77c627980
225 changed files with 77 additions and 88 deletions

View file

@ -0,0 +1,48 @@
{ lib, pkgs, ... }:
let
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBn3ff3HaZHIyH4K13k8Mwqu/o7jIABJ8rANK+r2PfJk";
in
{
imports = [
./hardware-configuration.nix
];
systemModules.host = {
name = "ooksmedia";
type = "desktop";
function = [
"workstation"
"gaming"
"media-server"
];
admin = {
name = "ooks";
shell = "fish";
sshKey = key;
homeManager = true;
};
hardware = {
cpu.type = "intel";
cpu.amd.pstate.enable = true;
gpu.type = "nvidia";
features = [
"audio"
"video"
"ssd"
];
};
};
systemModules.networking.tailscale = {
enable = true;
server = true;
};
boot = {
kernelPackages = pkgs.linuxPackages_xanmod_latest;
};
system.stateVersion = lib.mkDefault "23.11";
}