bah
This commit is contained in:
86
homes/aarch64-linux/evanreichard@lin-va-mbp-work-vm/default.nix
Executable file
86
homes/aarch64-linux/evanreichard@lin-va-mbp-work-vm/default.nix
Executable file
@@ -0,0 +1,86 @@
|
||||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, namespace
|
||||
, osConfig
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
inherit (lib.${namespace}) enabled;
|
||||
in
|
||||
{
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
reichard = {
|
||||
user = {
|
||||
enable = true;
|
||||
inherit (config.snowfallorg.user) name;
|
||||
};
|
||||
|
||||
services = {
|
||||
ssh-agent = enabled;
|
||||
fusuma = enabled;
|
||||
swww = enabled;
|
||||
};
|
||||
|
||||
security = {
|
||||
sops = enabled;
|
||||
};
|
||||
|
||||
programs = {
|
||||
graphical = {
|
||||
wms.hyprland = {
|
||||
enable = true;
|
||||
mainMod = "ALT";
|
||||
monitors = [ ",highres,auto,2" ]; # Alternatively - 1.68
|
||||
};
|
||||
ghostty = enabled;
|
||||
ghidra = enabled;
|
||||
gimp = enabled;
|
||||
browsers.firefox = {
|
||||
enable = true;
|
||||
gpuAcceleration = true;
|
||||
hardwareDecoding = true;
|
||||
};
|
||||
};
|
||||
|
||||
terminal = {
|
||||
btop = enabled;
|
||||
direnv = enabled;
|
||||
git = enabled;
|
||||
k9s = enabled;
|
||||
nvim = enabled;
|
||||
opencode = enabled;
|
||||
pi = enabled;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
orca-slicer
|
||||
];
|
||||
|
||||
dconf = {
|
||||
settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
cursor-theme = "catppuccin-macchiato-mauve-cursors";
|
||||
cursor-size = 24;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
name = "catppuccin-macchiato-mauve-cursors";
|
||||
package = pkgs.catppuccin-cursors.macchiatoMauve;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
# Kubernetes Secrets
|
||||
# sops.secrets = lib.mkIf osConfig.${namespace}.security.sops.enable {
|
||||
# rke2_kubeconfig = {
|
||||
# path = "${config.home.homeDirectory}/.kube/lin-va-kube";
|
||||
# };
|
||||
# };
|
||||
}
|
||||
74
systems/aarch64-linux/lin-va-mbp-work-vm/default.nix
Executable file
74
systems/aarch64-linux/lin-va-mbp-work-vm/default.nix
Executable file
@@ -0,0 +1,74 @@
|
||||
{ namespace
|
||||
, lib
|
||||
, pkgs
|
||||
, modulesPath
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
inherit (lib.${namespace}) enabled;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
# System Config
|
||||
reichard = {
|
||||
nix = enabled;
|
||||
|
||||
system = {
|
||||
boot = {
|
||||
enable = true;
|
||||
silentBoot = true;
|
||||
};
|
||||
disk = {
|
||||
enable = true;
|
||||
diskPath = "/dev/vda";
|
||||
};
|
||||
networking = {
|
||||
enable = true;
|
||||
useStatic = {
|
||||
interface = "enp0s1";
|
||||
address = "192.168.64.3";
|
||||
defaultGateway = "192.168.64.1";
|
||||
nameservers = [ "192.168.64.1" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
opengl = enabled;
|
||||
};
|
||||
|
||||
services = {
|
||||
openssh = enabled;
|
||||
avahi = enabled;
|
||||
printing = enabled;
|
||||
ydotool = enabled;
|
||||
};
|
||||
|
||||
security = {
|
||||
sops = enabled;
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
podman = enabled;
|
||||
};
|
||||
|
||||
programs = {
|
||||
graphical = {
|
||||
wms.hyprland = enabled;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Additional System Packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
mosh
|
||||
rclone
|
||||
unzip
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user