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

116 lines
2.7 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>
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
2022-05-29 18:57:52 +00:00
skypeforlinux
2017-11-12 11:55:20 +00:00
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
}
{
2022-05-29 19:55:52 +00:00
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
];
};
2017-08-21 10:37:57 +00:00
};
};
2022-05-29 19:55:52 +00:00
hardware.ledger.enable = true;
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
# 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;
}