diff options
| author | triethyl <triethylammonium@pm.me> | 2025-08-14 14:24:01 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-08-14 14:24:01 -0400 |
| commit | f54dad57d4705bb67da6f77b1423c0ed725c59e9 (patch) | |
| tree | 51cea34ac6c5ee526d7e13e7fd003b8879b1e160 /systems/thinkpad-laptop/system.nix | |
| parent | 5f8c7e7b19e48fb4925e5d4fa63dc4dfdf000c5c (diff) | |
added thinkpad-laptop device
Diffstat (limited to 'systems/thinkpad-laptop/system.nix')
| -rw-r--r-- | systems/thinkpad-laptop/system.nix | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/systems/thinkpad-laptop/system.nix b/systems/thinkpad-laptop/system.nix new file mode 100644 index 0000000..43dc5bd --- /dev/null +++ b/systems/thinkpad-laptop/system.nix @@ -0,0 +1,66 @@ +{config, ...}: { + imports = [./hardware.nix]; + + general-settings = { + hostname = "thinkpad-laptop"; + locale = "en_US.UTF-8"; + timezone = "America/New_York"; + stateVersion = "24.11"; + }; + + age.secrets.lucas-user-password.file = ../../secrets/lucas-user-password.age; + + users.users."lucas" = { + hashedPasswordFile = config.age.secrets.lucas-user-password.path; + isNormalUser = true; + description = "lucas"; + extraGroups = [ + "networkmanager" + "wheel" + "audio" + "video" + "libvirtd" + ]; + }; + + features = { + gui = { + apps = { + steam.enable = true; + # vmware.enable = true; + }; + desktops = { + niri.enable = true; + }; + }; + cli = { + shells.nushell.enable = true; + utils = { + nh = { + enable = true; + flake = "/home/lucas/Sync/setup"; + }; + }; + }; + services = { + core.systemd-boot.enable = true; + hardware = { + bluetooth.enable = true; + iwd.enable = true; + pipewire.enable = true; + }; + extra = { + plymouth.enable = true; + sddm.enable = true; + syncthing-client = { + enable = true; + username = "lucas"; + }; + udisks2.enable = true; + }; + bundles = { + printing.enable = true; + }; + }; + }; +} |
