refactor(hosts): move hosts to root of flake
This commit is contained in:
parent
e888ebe69c
commit
062ecb093c
15 changed files with 4 additions and 4 deletions
|
|
@ -1,48 +0,0 @@
|
|||
{ 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue