diff options
author | lassulus <lassulus@lassul.us> | 2022-05-29 21:55:52 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-05-29 21:55:52 +0200 |
commit | a4ebb2d7f469f58d924bbdfa7f83848a2b790fdd (patch) | |
tree | e7d6ad41d69f43939e0aa830e22217301b0e0467 | |
parent | ff8dd92d1f3880d82ff699d3ba476929e3f4e885 (diff) |
l daedalus.r: remove krebs.per-user
-rw-r--r-- | lass/1systems/daedalus/config.nix | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/lass/1systems/daedalus/config.nix b/lass/1systems/daedalus/config.nix index 0ca21fcd7..d6943c110 100644 --- a/lass/1systems/daedalus/config.nix +++ b/lass/1systems/daedalus/config.nix @@ -56,22 +56,32 @@ with import <stockholm/lib>; services.xserver.layout = "de"; } { - krebs.per-user.bitcoin.packages = [ - pkgs.electrum - pkgs.electron-cash - pkgs.litecoin - ]; - users.extraUsers = { - bitcoin = { - name = "bitcoin"; - description = "user for bitcoin stuff"; - home = "/home/bitcoin"; - isNormalUser = true; - useDefaultShell = true; - createHome = true; - extraGroups = [ "audio" ]; + users = { + groups.plugdev = {}; + users = { + bitcoin = { + name = "bitcoin"; + description = "user for bitcoin stuff"; + home = "/home/bitcoin"; + isNormalUser = true; + useDefaultShell = true; + createHome = true; + 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 = '' bubsy ALL=(bitcoin) NOPASSWD: ALL ''; |