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 dive
podman-tui podman-tui
podman-compose podman-compose
gmp
gmp.dev
pkg-config
]; ];
programs.nix-ld = { programs.nix-ld = {
@@ -80,6 +83,7 @@ in
libraries = with pkgs; [ libraries = with pkgs; [
stdenv.cc.cc stdenv.cc.cc
zlib zlib
gmp
openssl openssl
curl curl
glib 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. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];

View File

@@ -15,8 +15,8 @@ in
users.users.${profile.username} = { users.users.${profile.username} = {
isNormalUser = true; isNormalUser = true;
description = "Nina Chloe Kassandra"; description = "Nina Chloé Kassandra";
extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp"]; extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp" "uucp"];
packages = with pkgs; []; packages = with pkgs; [];
shell = pkgs.zsh; shell = pkgs.zsh;
hashedPassword = profile.hashed-password; hashedPassword = profile.hashed-password;
@@ -30,12 +30,13 @@ in
enable = true; enable = true;
settings = { settings = {
user = { user = {
name = "Nina Chloe Kassandra Reiß"; name = "Nina Chloé Kassandra Reiß";
email = "nina.reiss@nickr.eu"; email = "nina.reiss@nickr.eu";
}; };
push = { push = {
autoSetupRemote = true; autoSetupRemote = true;
}; };
}; };
}; };

View File

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

View File

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