diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-11-08 15:58:13 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-11-08 15:58:13 +0100 |
commit | 5440c73f19ae9bfac70c79da83241c158ceb7d4a (patch) | |
tree | 040aeff551fcb65d4978782d7485ec9210752307 /accounts/gkleen@sif/default.nix | |
parent | df7627ba7cf12da86325e97a941df335ccbf092e (diff) | |
download | nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar.gz nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar.bz2 nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar.xz nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 5bdd1651..189fabfa 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -698,16 +698,16 @@ in { | |||
698 | packages = with pkgs; [ | 698 | packages = with pkgs; [ |
699 | fira fira-code powerline-fonts nerdfonts pwvucontrol | 699 | fira fira-code powerline-fonts nerdfonts pwvucontrol |
700 | wrappedKeepassxc wl-clipboard-rs mumble pulseaudio-ctl | 700 | wrappedKeepassxc wl-clipboard-rs mumble pulseaudio-ctl |
701 | pamixer libnotify screen-message wrappedYTMDesktop qt5ct | 701 | pamixer libnotify screen-message wrappedYTMDesktop |
702 | playerctl evince thunderbird zoom-us steam steam-run | 702 | libsForQt5.qt5ct playerctl evince thunderbird zoom-us steam |
703 | wireshark virt-manager rclone cached-nix-shell worktime | 703 | steam-run wireshark virt-manager rclone cached-nix-shell |
704 | fira-code-symbols libreoffice xournalpp google-chrome | 704 | worktime fira-code-symbols libreoffice xournalpp |
705 | nixos-shell virt-viewer freerdp gnome-icon-theme | 705 | google-chrome nixos-shell virt-viewer freerdp |
706 | paper-icon-theme sshpassSecret weechat element-desktop | 706 | gnome-icon-theme paper-icon-theme sshpassSecret weechat |
707 | matrix-synapse-tools.synadm | 707 | element-desktop matrix-synapse-tools.synadm |
708 | flakeInputs.deploy-rs.packages.${config.nixpkgs.system}.deploy-rs | 708 | flakeInputs.deploy-rs.packages.${config.nixpkgs.system}.deploy-rs |
709 | sieve-connect gimp inkscape udiskie glab nitrokey-app | 709 | sieve-connect gimp inkscape udiskie glab nitrokey-app |
710 | pynitrokey gtklock wlrctl remmina openscad | 710 | pynitrokey gtklock wlrctl remmina openscad spice-record |
711 | ]; | 711 | ]; |
712 | 712 | ||
713 | file = { | 713 | file = { |
@@ -886,6 +886,24 @@ in { | |||
886 | StartupWMClass = "Element"; | 886 | StartupWMClass = "Element"; |
887 | }; | 887 | }; |
888 | }; | 888 | }; |
889 | rainbow = { | ||
890 | name = "Rainbow"; | ||
891 | exec = toString (pkgs.writeShellScript "rainbow" '' | ||
892 | exec -- \ | ||
893 | ${config.systemd.package}/bin/systemd-run --wait --user --slice-inherit \ | ||
894 | --property 'CPUAccounting=yes' --property 'CPUQuotaPeriodSec=50ms' \ | ||
895 | --property 'Environment=DSCP=46' \ | ||
896 | -- ${pkgs.dscp}/bin/dscp ${pkgs.google-chrome}/bin/google-chrome-stable \ | ||
897 | --force-device-scale-factor=1.5 \ | ||
898 | --class=Rainbow \ | ||
899 | --kiosk "https://web.openrainbow.com" \ | ||
900 | --user-data-dir=''${HOME}/.config/google-chrome-rainbow | ||
901 | ''); | ||
902 | icon = pkgs.fetchurl { | ||
903 | url = "https://web.openrainbow.com/rb/2.139.17/assets/skins/rainbow/images/homepage/logo__rainbow.svg"; | ||
904 | hash = "sha256-5fmo8rDqVDpzkGaPjk4Y+SsSZpAsY7VUQSFW6WdHwuU="; | ||
905 | }; | ||
906 | }; | ||
889 | }; | 907 | }; |
890 | 908 | ||
891 | fonts = { | 909 | fonts = { |