l daedalus.r: remove krebs.per-user

This commit is contained in:
lassulus 2022-05-29 21:55:52 +02:00
parent ff8dd92d1f
commit a4ebb2d7f4

View File

@ -56,12 +56,9 @@ with import <stockholm/lib>;
services.xserver.layout = "de"; services.xserver.layout = "de";
} }
{ {
krebs.per-user.bitcoin.packages = [ users = {
pkgs.electrum groups.plugdev = {};
pkgs.electron-cash users = {
pkgs.litecoin
];
users.extraUsers = {
bitcoin = { bitcoin = {
name = "bitcoin"; name = "bitcoin";
description = "user for bitcoin stuff"; description = "user for bitcoin stuff";
@ -69,9 +66,22 @@ with import <stockholm/lib>;
isNormalUser = true; isNormalUser = true;
useDefaultShell = true; useDefaultShell = true;
createHome = true; createHome = true;
extraGroups = [ "audio" ]; extraGroups = [
"audio"
"networkmanager"
"plugdev"
];
packages = let
unstable = import <nixpkgs-unstable> { config.allowUnfree = true; };
in [
pkgs.electrum
pkgs.electron-cash
unstable.ledger-live-desktop
];
}; };
}; };
};
hardware.ledger.enable = true;
security.sudo.extraConfig = '' security.sudo.extraConfig = ''
bubsy ALL=(bitcoin) NOPASSWD: ALL bubsy ALL=(bitcoin) NOPASSWD: ALL
''; '';