Compare commits

...

2 Commits

Author SHA1 Message Date
Ryan Rix 32f6e77682 don't run picom if it's not installed 2022-11-07 12:14:52 -08:00
Ryan Rix 4941dd2e2d exclude a bunch of [home-manager] modules from [nix-on-droid] 2022-11-07 12:14:40 -08:00
11 changed files with 12 additions and 2 deletions

View File

@ -39,6 +39,7 @@ in {
#+end_src #+end_src
#+ARROYO_HOME_MODULE: hm/beets.nix #+ARROYO_HOME_MODULE: hm/beets.nix
#+ARROYO_NIXOS_EXCLUDE: droid
* DONE check up on [[https://github.com/NixOS/nixpkgs/pull/172032#issuecomment-1137987507][nixpkgs]] comment about copyartifacts plugin * DONE check up on [[https://github.com/NixOS/nixpkgs/pull/172032#issuecomment-1137987507][nixpkgs]] comment about copyartifacts plugin
SCHEDULED: <2022-05-27 Fri> SCHEDULED: <2022-05-27 Fri>

View File

@ -93,6 +93,7 @@ But I still cannot "simply" update my system channels and deploy! In theory I co
And so what if I just make my single-admin systems use the =nixpkgs= i already have cloned? And so what if I just make my single-admin systems use the =nixpkgs= i already have cloned?
#+ARROYO_NIXOS_MODULE: nixos/nix-path.nix #+ARROYO_NIXOS_MODULE: nixos/nix-path.nix
#+ARROYO_NIXOS_EXCLUDE: droid
#+AUTO_TANGLE: t #+AUTO_TANGLE: t
#+begin_src nix :tangle ~/arroyo-nix/nixos/nix-path.nix #+begin_src nix :tangle ~/arroyo-nix/nixos/nix-path.nix

View File

@ -89,6 +89,7 @@
Mopidy is an extensible music server written in Python. It's mostly designed to provide an easy hardware jukebox for Spotify or whatever crappy web service you want to use. I use it for Bandcamp, mainly. There is [[id:c75d20e6-8888-4c5a-ac97-5997e2f1c711][NixOS]] module support for it so I enable it in [[id:cce/my_nixos_configuration][My NixOS configuration]]. I want to use it for Youtube Music but this doesn't work reliably because they're fucking cops, though... Mopidy is an extensible music server written in Python. It's mostly designed to provide an easy hardware jukebox for Spotify or whatever crappy web service you want to use. I use it for Bandcamp, mainly. There is [[id:c75d20e6-8888-4c5a-ac97-5997e2f1c711][NixOS]] module support for it so I enable it in [[id:cce/my_nixos_configuration][My NixOS configuration]]. I want to use it for Youtube Music but this doesn't work reliably because they're fucking cops, though...
#+ARROYO_NIXOS_MODULE: nixos/mopidy.nix #+ARROYO_NIXOS_MODULE: nixos/mopidy.nix
#+ARROYO_NIXOS_ROLE: endpoint
#+begin_src nix :tangle ~/arroyo-nix/nixos/mopidy.nix :noweb yes #+begin_src nix :tangle ~/arroyo-nix/nixos/mopidy.nix :noweb yes
{ pkgs, ...}: { pkgs, ...}:

View File

@ -59,6 +59,7 @@ Here the strings are basically just taken out of [[id:arroyo/nixos][Arroyo NixOS
../../nixos/location.nix ../../nixos/location.nix
../../nixos/mopidy.nix ../../nixos/mopidy.nix
../../nixos/nix-path.nix ../../nixos/nix-path.nix
../../nixos/nixos-builder.nix
../../nixos/nixpkgs.nix ../../nixos/nixpkgs.nix
../../nixos/nm-online.nix ../../nixos/nm-online.nix
../../nixos/printing.nix ../../nixos/printing.nix

View File

@ -7,7 +7,7 @@
Just use =systemd-boot= and UEFI. Use plymouth. Just use =systemd-boot= and UEFI. Use plymouth.
#+ARROYO_NIXOS_MODULE: nixos/boot.nix #+ARROYO_NIXOS_MODULE: nixos/boot.nix
#+ARROYO_NIXOS_EXCLUDE: waterboy #+ARROYO_NIXOS_ROLE: endpoint
#+begin_src nix :tangle ~/arroyo-nix/nixos/boot.nix #+begin_src nix :tangle ~/arroyo-nix/nixos/boot.nix
{ pkgs, ... }: { pkgs, ... }:

View File

@ -14,6 +14,7 @@
#+ARROYO_MODULE_WANTS: cce/org-roam.org #+ARROYO_MODULE_WANTS: cce/org-roam.org
#+ARROYO_HOME_MODULE: hm/org-protocol.nix #+ARROYO_HOME_MODULE: hm/org-protocol.nix
#+ARROYO_NIXOS_EXCLUDE: droid
#+ARROYO_EMACS_MODULE: org-protocol #+ARROYO_EMACS_MODULE: org-protocol

View File

@ -29,7 +29,8 @@ i use picom, a simple X11 compositor that works with [[id:cce/exwm][EXWM]] or [[
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun cce/run-picom () (defun cce/run-picom ()
(interactive) (interactive)
(start-process "picom" " *picom*" "picom" "--backend=glx" "-i 0.9")) (when (executable-find "picom")
(start-process "picom" " *picom*" "picom" "--backend=glx" "-i 0.9")))
; (add-hook 'exwm-init-hook #'cce/run-picom) ; (add-hook 'exwm-init-hook #'cce/run-picom)
(add-hook 'after-init-hook #'cce/run-picom) (add-hook 'after-init-hook #'cce/run-picom)
#+end_src #+end_src

View File

@ -16,6 +16,7 @@ This [[id:cce/cce][CCE]] module describes my user and SSH keys for [[id:cce/my_n
#+end_src #+end_src
#+ARROYO_NIXOS_MODULE: nixos/rrix.nix #+ARROYO_NIXOS_MODULE: nixos/rrix.nix
#+ARROYO_NIXOS_EXCLUDE: droid
#+begin_src nix :tangle ~/arroyo-nix/nixos/rrix.nix #+begin_src nix :tangle ~/arroyo-nix/nixos/rrix.nix
{ pkgs, ... }: { pkgs, ... }:

View File

@ -34,6 +34,7 @@ This is straightforward:
I poke a hole in the firewall in [[id:cce/my_nixos_configuration][My NixOS configuration]]: I poke a hole in the firewall in [[id:cce/my_nixos_configuration][My NixOS configuration]]:
#+ARROYO_NIXOS_MODULE: nixos/syncthing.nix #+ARROYO_NIXOS_MODULE: nixos/syncthing.nix
#+ARROYO_NIXOS_EXCLUDE: droid
#+begin_src nix :tangle ~/arroyo-nix/nixos/syncthing.nix #+begin_src nix :tangle ~/arroyo-nix/nixos/syncthing.nix
{ ... }: { ... }:
{ {

View File

@ -20,6 +20,7 @@
#+ARROYO_EMACS_MODULE: pass #+ARROYO_EMACS_MODULE: pass
#+ARROYO_HOME_MODULE: hm/pass.nix #+ARROYO_HOME_MODULE: hm/pass.nix
#+ARROYO_NIXOS_EXCLUDE: waterboy #+ARROYO_NIXOS_EXCLUDE: waterboy
#+ARROYO_NIXOS_EXCLUDE: droid
#+begin_src emacs-lisp #+begin_src emacs-lisp
(provide 'cce/pass) (provide 'cce/pass)

View File

@ -692,6 +692,7 @@ buildPythonPackage rec {
With the packages crammed in to Arroyo using an overlay, it's easy enough to add these in: With the packages crammed in to Arroyo using an overlay, it's easy enough to add these in:
#+ARROYO_HOME_MODULE: hm/vsketch.nix #+ARROYO_HOME_MODULE: hm/vsketch.nix
#+ARROYO_NIXOS_ROLE: endpoint
#+begin_src nix :tangle ~/arroyo-nix/hm/vsketch.nix #+begin_src nix :tangle ~/arroyo-nix/hm/vsketch.nix
{ pkgs, ... }: { pkgs, ... }: