From 39a2703698d4e02021ea3eed4383b68890f89938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20Chloe=20Kassandra=20Rei=C3=9F?= Date: Tue, 10 Mar 2026 11:30:15 +0100 Subject: [PATCH] Add usb group for access --- configuration.nix | 27 +++++++++++++++++++++++++++ home-manager.nix | 7 ++++--- system-environment/config.nix | 1 + terminal-environment/config.nix | 3 +++ 4 files changed, 35 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index b81aada..eb5fa78 100755 --- a/configuration.nix +++ b/configuration.nix @@ -73,6 +73,9 @@ in dive podman-tui podman-compose + gmp + gmp.dev + pkg-config ]; programs.nix-ld = { @@ -80,6 +83,7 @@ in libraries = with pkgs; [ stdenv.cc.cc zlib + gmp openssl curl glib @@ -90,6 +94,29 @@ in ]; }; + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + settings = { + General = { + # Shows battery charge of connected devices on supported + # Bluetooth adapters. Defaults to 'false'. + Experimental = true; + # When enabled other devices can connect faster to us, however + # the tradeoff is increased power consumption. Defaults to + # 'false'. + FastConnectable = true; + }; + Policy = { + # Enable all controllers when they are found. This includes + # adapters present on start as well as adapters that are plugged + # in later on. Defaults to 'true'. + AutoEnable = true; + }; + }; + }; + services.blueman.enable = true; + # Enable the OpenSSH daemon. services.openssh.enable = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/home-manager.nix b/home-manager.nix index 8746337..6d94f76 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -15,8 +15,8 @@ in users.users.${profile.username} = { isNormalUser = true; - description = "Nina Chloe Kassandra"; - extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp"]; + description = "Nina Chloé Kassandra"; + extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp" "uucp"]; packages = with pkgs; []; shell = pkgs.zsh; hashedPassword = profile.hashed-password; @@ -30,12 +30,13 @@ in enable = true; settings = { user = { - name = "Nina Chloe Kassandra Reiß"; + name = "Nina Chloé Kassandra Reiß"; email = "nina.reiss@nickr.eu"; }; push = { autoSetupRemote = true; }; + }; }; diff --git a/system-environment/config.nix b/system-environment/config.nix index 2a6949f..655b375 100644 --- a/system-environment/config.nix +++ b/system-environment/config.nix @@ -34,6 +34,7 @@ in gnat15Packages.gnatcoll-core gnat15Packages.gnatcoll-readline gnat15Packages.gnatcoll-python3 + gnat15Packages.gnatcoll-gmp rustc cargo ]; diff --git a/terminal-environment/config.nix b/terminal-environment/config.nix index e69b582..2d1ee6e 100644 --- a/terminal-environment/config.nix +++ b/terminal-environment/config.nix @@ -22,6 +22,9 @@ in ''; }; + programs.direnv.enable = true; + programs.direnv.nix-direnv.enable = true; + programs.zsh = { enable = true; enableCompletion = true;