This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1{ config, lib, pkgs, ... }: 2 3{ 4 imports = [ 5 ../../2configs/retiolum.nix 6 ../../2configs/exim-retiolum.nix 7 # ../../2configs/desktops/lib/x11.nix 8 ../../2configs/browsers.nix 9 ../../2configs/programs.nix 10 ../../2configs/network-manager.nix 11 ../../2configs/syncthing.nix 12 ../../2configs/games.nix 13 ../../2configs/steam.nix 14 ../../2configs/wine.nix 15 ../../2configs/yellow-mounts/samba.nix 16 ../../2configs/review.nix 17 { # moonlight test env 18 imports = [ 19 ../../2configs/sunshine.nix 20 ../../2configs/pipewire.nix 21 ../../2configs/mpv.nix 22 ]; 23 users.users.moon = { 24 isNormalUser = true; 25 uid = 1338; 26 extraGroups = [ "video" "audio" "input" "pipewire" ]; 27 home = "/home/moon"; 28 password = "moon"; 29 packages = with pkgs; [ 30 (retroarch.override { cores = [ 31 libretro.bsnes-hd 32 libretro.mupen64plus 33 ]; }) 34 ]; 35 }; 36 services.xserver.enable = true; 37 services.xserver.displayManager.autoLogin = { 38 enable = true; 39 user = "moon"; 40 }; 41 services.xserver.desktopManager.xfce.enable = true; 42 services.xserver.displayManager.defaultSession = lib.mkForce "xfce"; 43 services.xserver.displayManager.sessionCommands = '' 44 tmux new-session -A -s sun -- sun 45 ''; 46 environment.systemPackages = [ 47 pkgs.firefox-devedition 48 pkgs.vulkan-tools 49 ]; 50 systemd.user.services.sun = { 51 wantedBy = [ "default.target" ]; 52 environment = { 53 DISPLAY = ":0"; 54 XAUTHORITY = "/home/moon/.Xauthority"; 55 }; 56 serviceConfig = { 57 Type = "oneshot"; 58 ExecStart = "${pkgs.tmux}/bin/tmux new-session -A -s sun -- /run/current-system/sw/bin/sun"; 59 Restart = "always"; 60 RestartSec = 5; 61 }; 62 }; 63 } 64 ]; 65 66 krebs.build.host = config.krebs.hosts.coaxmetal; 67 68 environment.systemPackages = with pkgs; [ 69 brain 70 bank 71 l-gen-secrets 72 (pkgs.writeDashBin "deploy" '' 73 set -eu 74 export SYSTEM="$1" 75 $(nix-build $HOME/sync/stockholm/lass/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy) 76 '') 77 (pkgs.writeDashBin "usb-tether-on" '' 78 adb shell su -c service call connectivity 33 i32 1 s16 text 79 '') 80 (pkgs.writeDashBin "usb-tether-off" '' 81 adb shell su -c service call connectivity 33 i32 0 s16 text 82 '') 83 ]; 84 85 programs.adb.enable = true; 86 87 hardware.bluetooth = { 88 enable = true; 89 powerOnBoot = true; 90 }; 91 hardware.pulseaudio.package = pkgs.pulseaudioFull; 92 93 nix.trustedUsers = [ "root" "lass" ]; 94 95 services.tor = { 96 enable = true; 97 client.enable = true; 98 }; 99 100 documentation.nixos.enable = true; 101}