nixos/oxbow: Rename to stream
This commit is contained in:
56
nixos/boxes/home/stream.nix
Normal file
56
nixos/boxes/home/stream.nix
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
imports = [
|
||||
(import ./routing-common {
|
||||
index = 1;
|
||||
name = "stream";
|
||||
})
|
||||
];
|
||||
|
||||
config.nixos.systems.stream = {
|
||||
system = "x86_64-linux";
|
||||
nixpkgs = "mine";
|
||||
home-manager = "mine";
|
||||
|
||||
configuration = { lib, pkgs, config, ... }:
|
||||
let
|
||||
inherit (lib);
|
||||
in
|
||||
{
|
||||
config = {
|
||||
boot = {
|
||||
kernelParams = [ "intel_iommu=on" ];
|
||||
};
|
||||
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
cpu = {
|
||||
intel.updateMicrocode = true;
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-label/ESP";
|
||||
fsType = "vfat";
|
||||
};
|
||||
"/nix" = {
|
||||
device = "/dev/disk/by-label/nix";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/persist" = {
|
||||
device = "/dev/disk/by-label/persist";
|
||||
fsType = "ext4";
|
||||
neededForBoot = true;
|
||||
};
|
||||
};
|
||||
|
||||
my = {
|
||||
secrets = {
|
||||
# key = "ssh-ed25519 ";
|
||||
};
|
||||
server.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user