summaryrefslogtreecommitdiff
path: root/nixos/systems/nzxt-desktop/system.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/systems/nzxt-desktop/system.nix')
-rw-r--r--nixos/systems/nzxt-desktop/system.nix66
1 files changed, 66 insertions, 0 deletions
diff --git a/nixos/systems/nzxt-desktop/system.nix b/nixos/systems/nzxt-desktop/system.nix
new file mode 100644
index 0000000..db42aa1
--- /dev/null
+++ b/nixos/systems/nzxt-desktop/system.nix
@@ -0,0 +1,66 @@
+{config, ...}: {
+ imports = [./hardware.nix];
+
+ general-settings = {
+ hostname = "nzxt-desktop";
+ locale = "en_US.UTF-8";
+ timezone = "America/New_York";
+ stateVersion = "23.11";
+ };
+
+ age.secrets.culsans-user-password.file = ../../secrets/user-passwords/nzxt-desktop/culsans.age;
+
+ users.users."culsans" = {
+ hashedPasswordFile = config.age.secrets.culsans-user-password.path;
+ isNormalUser = true;
+ description = "Culsans";
+ extraGroups = [
+ "networkmanager"
+ "wheel"
+ "audio"
+ "video"
+ "libvirtd" # VmWare User
+ "vboxusers" # Virtualbox user
+ ];
+ };
+
+ features = {
+ gui = {
+ apps = {
+ steam.enable = true;
+ };
+ desktops = {
+ niri.enable = true;
+ };
+ };
+ cli = {
+ shells.nushell.enable = true;
+ utils = {
+ nh = {
+ enable = true;
+ flake = "/home/culsans/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 = "culsans";
+ };
+ udisks2.enable = true;
+ };
+ bundles = {
+ printing.enable = true;
+ };
+ };
+ };
+}