63 lines
1.4 KiB
Nix
63 lines
1.4 KiB
Nix
{
|
|
inputs,
|
|
util,
|
|
...
|
|
}:
|
|
# neogaia — Dell XPS 13 9380 laptop.
|
|
# Disk layout is in ./disk.nix.
|
|
# `fileSystems` are derived from it, none declared here.
|
|
{
|
|
imports = [
|
|
inputs.nixos-hardware.nixosModules.dell-xps-13-9380
|
|
./hardware-configuration.nix
|
|
./disk.nix
|
|
];
|
|
|
|
modules.host.cachyos.enable = true;
|
|
|
|
modules.network.enable = true;
|
|
|
|
registry.address.neogaia.self = "10.23.50.146";
|
|
|
|
modules.network.vpn-client = {
|
|
enable = true;
|
|
sopsFile = ../../secrets/neogaia.yaml;
|
|
address = "10.23.100.3/32";
|
|
|
|
peer = {
|
|
publicKey = "sGEkSD+gEdIMXi4PBN3AhwHGc4tWMtcjOIey3s7yb3I=";
|
|
endpoint = "100.0.90.192:51820";
|
|
};
|
|
};
|
|
|
|
modules.monorepo.enable = true;
|
|
modules.shell.herdr.enable = true;
|
|
modules.shell.gitea-axi.enable = true;
|
|
modules.shell.pi.enable = true;
|
|
|
|
modules.desktop.enable = true;
|
|
modules.desktop.apps.firefox.uiScale = "1.25";
|
|
modules.desktop.apps.obsidian.enable = true;
|
|
modules.desktop.apps.steam.enable = true;
|
|
|
|
registry.waybar.neogaia.battery = {
|
|
order = 70;
|
|
settings = {
|
|
format = "{icon} {capacity}%";
|
|
format-charging = "${util.glyph "f0e7"} {capacity}%";
|
|
format-icons = [
|
|
(util.glyph "f244")
|
|
(util.glyph "f243")
|
|
(util.glyph "f242")
|
|
(util.glyph "f241")
|
|
(util.glyph "f240")
|
|
];
|
|
states = {
|
|
warning = 20;
|
|
critical = 10;
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|