Add usb group for access

This commit is contained in:
Nina Chloe Kassandra Reiß
2026-03-10 11:30:15 +01:00
parent 9c5f8eff46
commit 39a2703698
4 changed files with 35 additions and 3 deletions

View File

@@ -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" ];

View File

@@ -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;
};
};
};

View File

@@ -34,6 +34,7 @@ in
gnat15Packages.gnatcoll-core
gnat15Packages.gnatcoll-readline
gnat15Packages.gnatcoll-python3
gnat15Packages.gnatcoll-gmp
rustc
cargo
];

View File

@@ -22,6 +22,9 @@ in
'';
};
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;
programs.zsh = {
enable = true;
enableCompletion = true;