added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
8
nyx/hosts/icarus/default.nix
Normal file
8
nyx/hosts/icarus/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
./fs
|
||||
./modules
|
||||
|
||||
./system.nix
|
||||
];
|
||||
}
|
38
nyx/hosts/icarus/fs/default.nix
Normal file
38
nyx/hosts/icarus/fs/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
7
nyx/hosts/icarus/modules/default.nix
Normal file
7
nyx/hosts/icarus/modules/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./device.nix
|
||||
./system.nix
|
||||
./usrEnv.nix
|
||||
];
|
||||
}
|
11
nyx/hosts/icarus/modules/device.nix
Normal file
11
nyx/hosts/icarus/modules/device.nix
Normal 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;
|
||||
};
|
||||
}
|
57
nyx/hosts/icarus/modules/system.nix
Normal file
57
nyx/hosts/icarus/modules/system.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
7
nyx/hosts/icarus/modules/usrEnv.nix
Normal file
7
nyx/hosts/icarus/modules/usrEnv.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
config.modules.usrEnv = {
|
||||
isWayland = true;
|
||||
desktop = "Hyprland";
|
||||
useHomeManager = true;
|
||||
};
|
||||
}
|
25
nyx/hosts/icarus/system.nix
Normal file
25
nyx/hosts/icarus/system.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue