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

97 lines
2.2 KiB
Nix
Raw Normal View History

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>
2017-10-09 09:05:02 +00:00
<stockholm/lass/2configs/games.nix>
<stockholm/lass/2configs/steam.nix>
2018-04-27 14:55:43 +00:00
<stockholm/lass/2configs/backup.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;
};
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;
hardware.pulseaudio = {
enable = true;
systemWide = true;
};
environment.systemPackages = with pkgs; [
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
minecraft
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
];
users.extraUsers = {
bitcoin = {
name = "bitcoin";
description = "user for bitcoin stuff";
home = "/home/bitcoin";
isNormalUser = true;
2017-08-21 10:37:57 +00:00
useDefaultShell = true;
createHome = true;
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
];
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;
}