added stuff
This commit is contained in:
parent
6d31f5b5a1
commit
7d4f626b7d
907 changed files with 70990 additions and 0 deletions
9
nyx/hosts/hermes/modules/default.nix
Normal file
9
nyx/hosts/hermes/modules/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
imports = [
|
||||
./device.nix
|
||||
./profiles.nix
|
||||
./system.nix
|
||||
./usrEnv.nix
|
||||
./style.nix
|
||||
];
|
||||
}
|
15
nyx/hosts/hermes/modules/device.nix
Normal file
15
nyx/hosts/hermes/modules/device.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
modules.device = {
|
||||
type = "laptop";
|
||||
cpu = {
|
||||
type = "amd";
|
||||
amd.pstate.enable = true;
|
||||
amd.zenpower.enable = true;
|
||||
};
|
||||
gpu.type = "amd";
|
||||
monitors = ["eDP-1"];
|
||||
hasBluetooth = true;
|
||||
hasSound = true;
|
||||
hasTPM = true;
|
||||
};
|
||||
}
|
6
nyx/hosts/hermes/modules/profiles.nix
Normal file
6
nyx/hosts/hermes/modules/profiles.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
config.modules.profiles = {
|
||||
workstation.enable = true;
|
||||
gaming.enable = true;
|
||||
};
|
||||
}
|
48
nyx/hosts/hermes/modules/style.nix
Normal file
48
nyx/hosts/hermes/modules/style.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
config.modules.style = {
|
||||
forceGtk = true;
|
||||
|
||||
gtk = {
|
||||
usePortal = true;
|
||||
theme = {
|
||||
name = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
size = "standard";
|
||||
accents = ["blue"];
|
||||
variant = "mocha";
|
||||
tweaks = ["normal"];
|
||||
};
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.catppuccin-papirus-folders.override {
|
||||
accent = "blue";
|
||||
flavor = "mocha";
|
||||
};
|
||||
};
|
||||
|
||||
font = {
|
||||
name = "Lexend";
|
||||
size = 14;
|
||||
};
|
||||
};
|
||||
|
||||
qt = {
|
||||
theme = {
|
||||
name = "Catppuccin-Mocha-Dark";
|
||||
package = pkgs.catppuccin-kde.override {
|
||||
flavour = ["mocha"];
|
||||
accents = ["blue"];
|
||||
winDecStyles = ["modern"];
|
||||
};
|
||||
};
|
||||
|
||||
kdeglobals.source = "${config.modules.style.qt.theme.package}" + "/share/color-schemes/CatppuccinMochaBlue.colors";
|
||||
};
|
||||
};
|
||||
}
|
71
nyx/hosts/hermes/modules/system.nix
Normal file
71
nyx/hosts/hermes/modules/system.nix
Normal file
|
@ -0,0 +1,71 @@
|
|||
{pkgs, ...}: {
|
||||
modules.system = {
|
||||
mainUser = "notashelf";
|
||||
fs = ["btrfs" "ext4" "vfat"];
|
||||
impermanence.root.enable = true;
|
||||
|
||||
boot = {
|
||||
secureBoot = false;
|
||||
kernel = pkgs.linuxPackages_xanmod_latest;
|
||||
plymouth.enable = true;
|
||||
loader = "systemd-boot";
|
||||
enableKernelTweaks = true;
|
||||
initrd.enableTweaks = true;
|
||||
loadRecommendedModules = true;
|
||||
tmpOnTmpfs = true;
|
||||
};
|
||||
|
||||
encryption = {
|
||||
enable = true;
|
||||
device = "enc";
|
||||
};
|
||||
|
||||
yubikeySupport.enable = true;
|
||||
autoLogin = true;
|
||||
|
||||
video.enable = true;
|
||||
sound.enable = true;
|
||||
bluetooth.enable = true;
|
||||
printing.enable = true;
|
||||
emulation.enable = true;
|
||||
|
||||
networking = {
|
||||
optimizeTcp = true;
|
||||
nftables.enable = true;
|
||||
tailscale = {
|
||||
enable = true;
|
||||
isClient = true;
|
||||
};
|
||||
};
|
||||
|
||||
security = {
|
||||
fixWebcam = false;
|
||||
lockModules = true;
|
||||
usbguard.enable = true;
|
||||
};
|
||||
|
||||
virtualization = {
|
||||
enable = true;
|
||||
docker.enable = false;
|
||||
qemu.enable = true;
|
||||
podman.enable = false;
|
||||
};
|
||||
|
||||
programs = {
|
||||
cli.enable = true;
|
||||
gui.enable = true;
|
||||
|
||||
spotify.enable = true;
|
||||
|
||||
git.signingKey = "0x02D1DD3FA08B6B29";
|
||||
|
||||
gaming = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
default = {
|
||||
terminal = "foot";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
17
nyx/hosts/hermes/modules/usrEnv.nix
Normal file
17
nyx/hosts/hermes/modules/usrEnv.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
modules.usrEnv = {
|
||||
desktop = "Hyprland";
|
||||
useHomeManager = true;
|
||||
|
||||
programs = {
|
||||
media.mpv.enable = true;
|
||||
|
||||
launchers = {
|
||||
anyrun.enable = true;
|
||||
tofi.enable = true;
|
||||
};
|
||||
|
||||
screenlock.swaylock.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue