added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{
imports = [
./device.nix
./profiles.nix
./system.nix
./usrEnv.nix
./style.nix
];
}

View 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;
};
}

View file

@ -0,0 +1,6 @@
{
config.modules.profiles = {
workstation.enable = true;
gaming.enable = true;
};
}

View 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";
};
};
}

View 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";
};
};
};
}

View 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;
};
};
}