2017-08-21 10:37:57 +00:00
|
|
|
with import <stockholm/lib>;
|
2017-07-28 10:02:29 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
<stockholm/lass>
|
|
|
|
|
|
|
|
<stockholm/lass/2configs/retiolum.nix>
|
2018-12-24 15:32:41 +00:00
|
|
|
<stockholm/lass/2configs/nfs-dl.nix>
|
2017-08-21 10:37:57 +00:00
|
|
|
{
|
|
|
|
# bubsy config
|
|
|
|
users.users.bubsy = {
|
|
|
|
uid = genid "bubsy";
|
|
|
|
home = "/home/bubsy";
|
|
|
|
group = "users";
|
|
|
|
createHome = true;
|
|
|
|
extraGroups = [
|
|
|
|
"audio"
|
|
|
|
"networkmanager"
|
|
|
|
];
|
|
|
|
useDefaultShell = true;
|
2021-06-05 12:18:34 +00:00
|
|
|
isNormalUser = true;
|
2017-08-21 10:37:57 +00:00
|
|
|
};
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
networking.wireless.enable = mkForce false;
|
|
|
|
hardware.pulseaudio = {
|
|
|
|
enable = true;
|
|
|
|
systemWide = true;
|
|
|
|
};
|
2019-04-17 15:38:57 +00:00
|
|
|
programs.chromium = {
|
|
|
|
enable = true;
|
|
|
|
extensions = [
|
|
|
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
|
|
|
];
|
|
|
|
};
|
2017-08-21 10:37:57 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
2019-10-14 12:59:45 +00:00
|
|
|
ark
|
2017-08-21 10:37:57 +00:00
|
|
|
pavucontrol
|
2018-08-23 14:42:50 +00:00
|
|
|
#firefox
|
|
|
|
chromium
|
2017-08-21 10:37:57 +00:00
|
|
|
hexchat
|
|
|
|
networkmanagerapplet
|
2017-09-02 20:16:46 +00:00
|
|
|
libreoffice
|
2017-10-09 09:05:26 +00:00
|
|
|
audacity
|
2017-11-12 11:55:20 +00:00
|
|
|
zathura
|
|
|
|
skype
|
|
|
|
wine
|
2018-01-15 23:01:23 +00:00
|
|
|
geeqie
|
|
|
|
vlc
|
2019-04-17 18:01:03 +00:00
|
|
|
zsnes
|
2017-08-21 10:37:57 +00:00
|
|
|
];
|
2018-01-05 14:58:23 +00:00
|
|
|
nixpkgs.config.firefox.enableAdobeFlash = true;
|
2017-08-21 10:37:57 +00:00
|
|
|
services.xserver.enable = true;
|
|
|
|
services.xserver.displayManager.lightdm.enable = true;
|
|
|
|
services.xserver.desktopManager.plasma5.enable = true;
|
2017-09-02 14:13:30 +00:00
|
|
|
services.xserver.layout = "de";
|
2017-08-21 10:37:57 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
krebs.per-user.bitcoin.packages = [
|
|
|
|
pkgs.electrum
|
2019-05-29 13:04:11 +00:00
|
|
|
pkgs.electron-cash
|
2019-10-09 20:46:45 +00:00
|
|
|
pkgs.litecoin
|
2017-08-21 10:37:57 +00:00
|
|
|
];
|
|
|
|
users.extraUsers = {
|
|
|
|
bitcoin = {
|
|
|
|
name = "bitcoin";
|
|
|
|
description = "user for bitcoin stuff";
|
|
|
|
home = "/home/bitcoin";
|
2017-11-12 11:58:45 +00:00
|
|
|
isNormalUser = true;
|
2017-08-21 10:37:57 +00:00
|
|
|
useDefaultShell = true;
|
|
|
|
createHome = true;
|
2017-11-12 11:58:45 +00:00
|
|
|
extraGroups = [ "audio" ];
|
2017-08-21 10:37:57 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
security.sudo.extraConfig = ''
|
|
|
|
bubsy ALL=(bitcoin) NOPASSWD: ALL
|
|
|
|
'';
|
|
|
|
}
|
2017-09-02 20:17:31 +00:00
|
|
|
{
|
|
|
|
#remote control
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
x11vnc
|
2021-07-29 13:49:48 +00:00
|
|
|
# torbrowser
|
2017-09-02 20:17:31 +00:00
|
|
|
];
|
|
|
|
krebs.iptables.tables.filter.INPUT.rules = [
|
|
|
|
{ predicate = "-p tcp -i retiolum --dport 5900"; target = "ACCEPT"; }
|
|
|
|
];
|
|
|
|
}
|
2017-07-28 10:02:29 +00:00
|
|
|
];
|
|
|
|
|
2017-08-21 10:37:57 +00:00
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
hardware.trackpoint = {
|
|
|
|
enable = true;
|
|
|
|
sensitivity = 220;
|
|
|
|
speed = 0;
|
|
|
|
emulateWheel = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.logind.extraConfig = ''
|
|
|
|
HandleLidSwitch=ignore
|
|
|
|
'';
|
|
|
|
|
2017-07-28 10:02:29 +00:00
|
|
|
krebs.build.host = config.krebs.hosts.daedalus;
|
|
|
|
}
|