This commit is contained in:
4DBug
2026-02-18 22:44:39 -06:00
parent bca6b60a3e
commit e5f9674f8d
82 changed files with 9362 additions and 0 deletions

35
modules/hosts/box/box.nix Normal file
View File

@@ -0,0 +1,35 @@
{ den, ... }: {
den.aspects.box = {
includes = with den.aspects; [
den.provides.home-manager
syncthing
fish
cloudflared
searxng
copyparty
glances
#invidious
mailserver
matrix
redlib
sish
vscode-server
dns
openssh
];
nixos = {
networking.hostName = "box";
users.users.levi = {
isNormalUser = true;
description = "levi";
extraGroups = [];
hashedPasswordFile = "/home/bug/users/levi.passwd";
};
};
};
}

View File

@@ -0,0 +1,98 @@
{
den.default = {
nixos = { pkgs, ... }: {
imports = [
/etc/nixos/hardware-configuration.nix
];
system = {
stateVersion = "26.05";
autoUpgrade = {
enable = true;
allowReboot = false;
};
};
nixpkgs = {
config = {
allowUnfree = true;
};
};
nix = {
optimise.automatic = true;
settings.experimental-features = [ "nix-command" "flakes" ];
};
security = {
sudo = {
enable = true;
wheelNeedsPassword = false;
};
};
boot = {
kernelPackages = pkgs.linuxPackages_zen;
initrd.checkJournalingFS = false;
loader = {
grub.splashImage = null;
systemd-boot = {
enable = true;
configurationLimit = 25;
};
efi.canTouchEfiVariables = true;
};
};
environment.systemPackages = with pkgs; [
comma
fastfetch
git
home-manager
inetutils
micro
nh
nil
nixd
nixfmt
nix-index
nix-output-monitor
nix-prefetch
nvd
psmisc
tree
unzip
wget
];
time.timeZone = "America/Chicago";
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
};
};
homeManager = {
home = {
stateVersion = "26.05";
};
};
};
}

View File

@@ -0,0 +1,36 @@
{ den, ... }: {
den.aspects.laptop = {
includes = with den.aspects; [
amdgpu
cosmic
firefox
audio
den.provides.home-manager
stylix
#nvidia
syncthing
swap
cloudflare-warp
packages
development
#cad
mpd
virtualisation
flatpak
fish
dns
openssh
];
nixos = {
networking.hostName = "nix";
services.logind.settings.Login = {
HandleLidSwitch = "ignore";
HandleLidSwitchDocked = "ignore";
};
};
};
}

31
modules/hosts/nix/nix.nix Normal file
View File

@@ -0,0 +1,31 @@
{ den, ... }:
{
den.aspects.nix = {
includes = with den.aspects; [
#amdgpu
cosmic
firefox
audio
den.provides.home-manager
stylix
nvidia
syncthing
swap
#cloudflare-warp
packages
development
#cad
mpd
virtualisation
flatpak
fish
dns
openssh
];
nixos = {
networking.hostName = "nix";
};
};
}