stockholm/lass/1systems/daedalus/config.nix

106 lines
2.4 KiB
Nix
Raw Normal View History

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