diff options
| author | andromeda <andromeda@lenovo> | 2026-01-09 23:23:07 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-09 23:23:07 +0100 |
| commit | 0658c5d898d6267e23d28f60d2c32edcf85d5c06 (patch) | |
| tree | deb20f9303cacb066e4f5590442b0be08c59f226 /modules/nixos/laptop.nix | |
| parent | 8b79f4e825718448780383d0e535d132d7b80561 (diff) | |
modularise lenovo?
Diffstat (limited to 'modules/nixos/laptop.nix')
| -rw-r--r-- | modules/nixos/laptop.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/nixos/laptop.nix b/modules/nixos/laptop.nix new file mode 100644 index 0000000..9002c49 --- /dev/null +++ b/modules/nixos/laptop.nix @@ -0,0 +1,39 @@ +{ + # bluetooth + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + }; + services.blueman.enable = true; + + # locale + i18n.defaultLocale = "de_DE.UTF-8"; + time.timeZone = "Europe/Berlin"; + + # networking + networking = { + firewall.enable = true; + networkmanager.enable = true; + }; + + # misc + services = { + printing.enable = true; + + # trackpad + libinput.enable = true; + + # ssh + openssh.enable = true; + }; + + # impermanence + environment.persistence."/persist".directories = [ + # bluetooth + "/var/lib/bluetooth" + # wifi connections + "/etc/NetworkManager/system-connections" + # machine ssh keys + "/etc/ssh" + ]; +} |
