Files
nix-config/modules/hosts/pinetab2/default.nix
T
phundrak a3df5e937f refactor: change to litterate config
Configuration is now held by the `.org` files. All `.nix` files are
tangled from the org-mode files.
2026-10-26 00:43:40 +01:00

57 lines
1.1 KiB
Nix

{config, ...}: let
m = config.flake.modules.nixos;
in {
flake.modules.nixos.pinetab2-base = {config, ...}: {
imports = [
m.system-default
m.sops-system
m.hyprland
m.waydroid
m.gnome
m.docker
m.bluetooth
m.opentablet
m.sound
m.i18n-input
m.appimage
m.flatpak
m.ssh
m.pinetab2
];
system.stateVersion = "25.11";
mySystem = {
dev.docker = {
enable = true;
podman.enable = true;
autoprune.enable = true;
};
misc.keymap = "fr-bepo";
networking = {
hostname = "pinetab2";
id = "99a11b15";
wifi.disablePowersave = true;
};
packages.nix = {
gc.automatic = true;
nix-ld.enable = true;
};
services.ssh.enable = true;
users = {
root.disablePassword = true;
phundrak = {
enable = true;
trusted = true;
};
};
};
sops.secrets.extraHosts = {
inherit (config.users.users.root) group;
owner = config.users.users.phundrak.name;
mode = "0440";
};
};
}