summaryrefslogtreecommitdiffstats
path: root/lass/1systems/daedalus
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-09-09 19:42:08 +0200
committermakefu <github@syntax-fehler.de>2023-09-09 19:42:08 +0200
commit29d72c898d674d2c18fc0f4a76b5e623de0c3dfe (patch)
treefc4b0695c986a1cda6f1fbbbcbe716e203c54fa3 /lass/1systems/daedalus
parente157ffa72856e4378aa23b096b2efff233f3cb3d (diff)
parent083229d0211096daec08673f743ccc45b1d8a0ac (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/1systems/daedalus')
-rw-r--r--lass/1systems/daedalus/config.nix115
-rw-r--r--lass/1systems/daedalus/physical.nix24
2 files changed, 0 insertions, 139 deletions
diff --git a/lass/1systems/daedalus/config.nix b/lass/1systems/daedalus/config.nix
deleted file mode 100644
index c34dc0acf..000000000
--- a/lass/1systems/daedalus/config.nix
+++ /dev/null
@@ -1,115 +0,0 @@
-with import <stockholm/lib>;
-{ config, pkgs, ... }:
-
-{
- imports = [
- <stockholm/lass>
-
- <stockholm/lass/2configs/retiolum.nix>
- <stockholm/lass/2configs/pipewire.nix>
- # <stockholm/lass/2configs/nfs-dl.nix>
- {
- # bubsy config
- users.users.bubsy = {
- uid = genid "bubsy";
- home = "/home/bubsy";
- group = "users";
- createHome = true;
- extraGroups = [
- "audio"
- "networkmanager"
- "pipewire"
- # "plugdev"
- ];
- useDefaultShell = true;
- isNormalUser = true;
- };
- networking.networkmanager.enable = true;
- networking.wireless.enable = mkForce false;
- # programs.chromium = {
- # enable = true;
- # extensions = [
- # "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
- # ];
- # };
- environment.systemPackages = with pkgs; [
- ark
- pavucontrol
- #firefox
- chromium
- hexchat
- networkmanagerapplet
- libreoffice
- audacity
- zathura
- skypeforlinux
- wine
- geeqie
- vlc
- zsnes
- telegram-desktop
- ];
- # services.udev.packages = [ pkgs.ledger-udev-rules ];
- nixpkgs.config.firefox.enableAdobeFlash = true;
- services.xserver.enable = true;
- services.xserver.displayManager.lightdm.enable = true;
- services.xserver.desktopManager.plasma5.enable = true;
- services.tlp.enable = lib.mkForce false;
- services.xserver.layout = "de";
- }
- {
- 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 = [
- pkgs.electrum
- pkgs.electron-cash
- pkgs.ledger-live-desktop
- ];
- };
- };
- };
- hardware.ledger.enable = true;
- security.sudo.extraConfig = ''
- bubsy ALL=(bitcoin) NOPASSWD: ALL
- '';
- }
- {
- #remote control
- environment.systemPackages = with pkgs; [
- x11vnc
- # torbrowser
- ];
- krebs.iptables.tables.filter.INPUT.rules = [
- { predicate = "-p tcp -i retiolum --dport 5900"; target = "ACCEPT"; }
- ];
- }
- ];
-
- time.timeZone = "Europe/Berlin";
-
- hardware.trackpoint = {
- enable = true;
- sensitivity = 220;
- speed = 0;
- emulateWheel = true;
- };
-
- services.logind.extraConfig = ''
- HandleLidSwitch=ignore
- '';
-
- krebs.build.host = config.krebs.hosts.daedalus;
-}
diff --git a/lass/1systems/daedalus/physical.nix b/lass/1systems/daedalus/physical.nix
deleted file mode 100644
index d10ced7da..000000000
--- a/lass/1systems/daedalus/physical.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- imports = [
- ./config.nix
- <stockholm/lass/2configs/hw/x220.nix>
- <stockholm/lass/2configs/boot/coreboot.nix>
- ];
-
- fileSystems = {
- "/bku" = {
- device = "/dev/mapper/pool-bku";
- fsType = "btrfs";
- options = ["defaults" "noatime" "ssd" "compress=lzo"];
- };
- "/backups" = {
- device = "/dev/pool/backup";
- fsType = "ext4";
- };
- };
-
- services.udev.extraRules = ''
- SUBSYSTEM=="net", ATTR{address}=="08:11:96:0a:5d:6c", NAME="wl0"
- SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:71:cb:35", NAME="et0"
- '';
-}