chore: dev env image
This commit is contained in:
29
homes/aarch64-raw-efi/evanreichard@lin-terminal-image/default.nix
Executable file
29
homes/aarch64-raw-efi/evanreichard@lin-terminal-image/default.nix
Executable file
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, config
|
||||
, namespace
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
inherit (lib.${namespace}) enabled;
|
||||
in
|
||||
{
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
reichard = {
|
||||
user = {
|
||||
enable = true;
|
||||
inherit (config.snowfallorg.user) name;
|
||||
};
|
||||
|
||||
programs = {
|
||||
terminal = {
|
||||
btop = enabled;
|
||||
direnv = enabled;
|
||||
nvim = enabled;
|
||||
tmux = enabled;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.jq = enabled;
|
||||
}
|
||||
@@ -1,10 +1,15 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
system.stateVersion = 6;
|
||||
|
||||
# System Config
|
||||
determinateNix = {
|
||||
enable = true;
|
||||
nixosVmBasedLinuxBuilder.enable = true;
|
||||
nixosVmBasedLinuxBuilder = {
|
||||
enable = true;
|
||||
config.virtualisation.diskSize = lib.mkForce 61440;
|
||||
};
|
||||
};
|
||||
|
||||
reichard = { };
|
||||
|
||||
60
systems/aarch64-raw-efi/lin-terminal-image/default.nix
Executable file
60
systems/aarch64-raw-efi/lin-terminal-image/default.nix
Executable file
@@ -0,0 +1,60 @@
|
||||
{ namespace, lib, ... }:
|
||||
let
|
||||
inherit (lib.${namespace}) enabled;
|
||||
in
|
||||
{
|
||||
system.stateVersion = "25.11";
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
# Config Boot
|
||||
boot = {
|
||||
supportedFilesystems = [ "nfs" ];
|
||||
loader.timeout = lib.mkForce 0;
|
||||
consoleLogLevel = 7;
|
||||
|
||||
kernelParams = [
|
||||
"console=hvc0"
|
||||
"console=tty0"
|
||||
"loglevel=7"
|
||||
"debug"
|
||||
];
|
||||
|
||||
initrd.availableKernelModules = [
|
||||
"virtio_pci"
|
||||
"virtio_blk"
|
||||
"virtio_console"
|
||||
"virtio_net"
|
||||
"virtiofs"
|
||||
];
|
||||
};
|
||||
|
||||
# Mount Share
|
||||
fileSystems."/mnt/dev" = {
|
||||
device = "dev-share";
|
||||
fsType = "virtiofs";
|
||||
};
|
||||
|
||||
reichard = {
|
||||
nix = enabled;
|
||||
|
||||
system = {
|
||||
boot = {
|
||||
enable = true;
|
||||
enableGrub = true;
|
||||
};
|
||||
|
||||
networking = enabled;
|
||||
};
|
||||
|
||||
services = {
|
||||
avahi = enabled;
|
||||
mosh = enabled;
|
||||
openssh = enabled;
|
||||
tailscale = enabled;
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
podman = enabled;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user