added stuff

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

View file

@ -0,0 +1,8 @@
{
imports = [
./fs
./modules
./system.nix
];
}

View file

@ -0,0 +1,38 @@
{
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/5e652a20-9dc3-441a-9fc3-949d5263ee7a";
fsType = "btrfs";
options = ["subvol=root"];
};
"/home" = {
device = "/dev/disk/by-uuid/5e652a20-9dc3-441a-9fc3-949d5263ee7a";
fsType = "btrfs";
options = ["subvol=home"];
};
"/nix" = {
device = "/dev/disk/by-uuid/5e652a20-9dc3-441a-9fc3-949d5263ee7a";
fsType = "btrfs";
options = ["subvol=nix"];
};
"/persist" = {
device = "/dev/disk/by-uuid/5e652a20-9dc3-441a-9fc3-949d5263ee7a";
fsType = "btrfs";
options = ["subvol=persist"];
};
"/var/log" = {
device = "/dev/disk/by-uuid/5e652a20-9dc3-441a-9fc3-949d5263ee7a";
fsType = "btrfs";
options = ["subvol=log"];
};
"/boot" = {
device = "/dev/disk/by-uuid/6ABE-DA15";
fsType = "vfat";
};
};
}

View file

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

View file

@ -0,0 +1,11 @@
{
config.modules.device = {
type = "hybrid";
cpu.type = "intel";
gpu.type = "intel";
monitors = ["eDP-1"];
hasBluetooth = false;
hasSound = true;
hasTPM = true;
};
}

View file

@ -0,0 +1,57 @@
{
config.modules.system = {
mainUser = "notashelf";
fs = ["btrfs" "ext4" "vfat"];
autoLogin = true;
boot = {
secureBoot = false;
loader = "systemd-boot";
enableKernelTweaks = true;
initrd.enableTweaks = true;
loadRecommendedModules = true;
tmpOnTmpfs = false;
};
video.enable = true;
sound.enable = true;
bluetooth.enable = false;
printing.enable = false;
emulation.enable = false;
networking = {
optimizeTcp = true;
tailscale = {
enable = true;
isClient = true;
};
};
security = {
fixWebcam = false;
};
virtualization = {
enable = false;
docker.enable = false;
qemu.enable = false;
podman.enable = false;
};
programs = {
cli.enable = true;
gui.enable = true;
git.signingKey = "0x148C61C40F80F8D6";
gaming = {
enable = false;
chess.enable = false;
};
default = {
terminal = "foot";
};
};
};
}

View file

@ -0,0 +1,7 @@
{
config.modules.usrEnv = {
isWayland = true;
desktop = "Hyprland";
useHomeManager = true;
};
}

View file

@ -0,0 +1,25 @@
{
config = {
fileSystems = {
"/".options = ["compress=zstd" "noatime"];
"/home".options = ["compress=zstd"];
"/persist".options = ["compress=zstd"];
"/var/log".options = ["compress=zstd"];
"/nix".options = ["compress=zstd" "noatime"];
};
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
boot = {
kernelModules = ["iwlwifi"];
kernelParams = [
"i915.enable_fbc=1"
"i915.enable_psr=2"
"nohibernate"
];
};
};
}