diff --git a/SwarselSystems.org b/SwarselSystems.org index 1a44ea0..56b0ad2 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -105,7 +105,7 @@ These blocks are used in several places throughout the configurations, but not o These blocks are to be used on systems that are not running NixOS. For example, one such system would be a Fedora system running home manager, where the respective NixOS features might not be available. -*** Theme +*** Theme (stylix) :PROPERTIES: :CUSTOM_ID: h:5bc1b0c9-dc59-4c81-b5b5-e60699deda78 :END: @@ -270,10 +270,12 @@ I also enable the extra socket here for ssh agent forwarding. But I have not ful enable = true; enableSshSupport = true; enableExtraSocket = true; - pinentryPackage = pkgs.pinentry-gtk2; + pinentryPackage = pkgs.pinentry.gtk2; + defaultCacheTtl = 600; + maxCacheTtl = 7200; extraConfig = '' - allow-emacs-pinentry allow-loopback-pinentry + allow-emacs-pinentry ''; }; @@ -4782,14 +4784,17 @@ Mostly used to install some compilers and lsp's that I want to have available wh yubikey-personalization yubikey-personalization-gui yubico-pam - # yubioath-flutter - # yubikey-manager - # yubikey-manager-qt + yubioath-flutter + yubikey-manager + yubikey-manager-qt yubico-piv-tool + cfssl + pcsctools + pcscliteWithPolkit.out # pinentry # theme related - gnome.adwaita-icon-theme + adwaita-icon-theme # kde-connect xdg-desktop-portal @@ -6360,7 +6365,6 @@ The rest of this configuration is found here: tooltip-format= "{:%Y %B}\n{calendar}"; }; - pulseaudio= { format= "{icon} {volume:2}%"; format-bluetooth= "{icon} {volume}%"; @@ -9294,6 +9298,8 @@ Also, Emacs needs a little extra love to accept my Yubikey for git commits etc. ;; yubikey support for pushing commits ;; commiting is enabled through nixos gpg-agent config + (use-package pinentry) + (pinentry-start) (setq epg-pinentry-mode 'loopback) (setenv "SSH_AUTH_SOCK" (string-chop-newline (shell-command-to-string "gpgconf --list-dirs agent-ssh-socket"))) #+end_src diff --git a/index.html b/index.html index 38cf104..caa47e6 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +-This file has 40741 words spanning 10531 lines and was last revised on 2024-07-11 10:18:39 +0200. +This file has 40256 words spanning 10281 lines and was last revised on 2024-07-11 17:26:27 +0200.
@@ -419,7 +419,7 @@
-My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2024-07-11 10:18:39 +0200) +My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2024-07-11 17:26:27 +0200)
---prefix=/nix/store/lymgpfqr5dp1wc0khbcbhhjnxq8ccsy9-emacs-pgtk-20240521.0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --with-xwidgets --with-dbus --with-selinux +--prefix=/nix/store/y5vn4lfxjh26r0pglhq102zg6gzx1hwm-emacs-pgtk-20240711.0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --with-xwidgets --with-dbus --with-selinux@@ -483,8 +483,6 @@
This is where the theme for the whole OS is defined. This noweb-ref section cannot be copied to the general NixOS config for now since they are on different folder structure levels in the config, which would make the flake impure. @@ -515,6 +511,7 @@
stylix = { + enable = true; base16Scheme = ../../wallpaper/swarsel.yaml; # base16Scheme = "${pkgs.base16-schemes}/share/themes/shapeshifter.yaml"; polarity = "dark"; @@ -673,7 +670,6 @@2
nixpkgs, +nixpkgs-stable, home-manager, nix-on-droid, nixos-generators, @@ -865,7 +859,6 @@2 stylix, sops-nix, lanzaboote, -nixpkgs-mautrix-signal, nix-gaming, nixos-hardware, nix-alien, @@ -910,6 +903,7 @@
2
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; +nixpkgs-stable.url = github:NixOS/nixpkgs/nixos-24.05; # user-level configuration home-manager = { @@ -952,11 +946,6 @@2 inputs.nixpkgs.follows = "nixpkgs"; }; -# provides expressions for mautrix-signal -nixpkgs-mautrix-signal ={ - url = github:niklaskorz/nixpkgs/nixos-23.11-mautrix-signal; -}; - # patches for gaming on nix nix-gaming = { url = github:fufexan/nix-gaming; @@ -998,6 +987,11 @@
2 overlays = [ emacs-overlay.overlay nur.overlay nixgl.overlay + (final: _prev: { + stable = import nixpkgs-stable { + inherit (final) system config; + }; + }) ]; config.allowUnfree = true; }; @@ -1011,9 +1005,6 @@
2 config.allowUnfree = true; }; -pkgsmautrix = import nixpkgs-mautrix-signal { inherit system; - config.allowUnfree = true; - }; # NixOS modules that can only be used on NixOS systems nixModules = [ stylix.nixosModules.stylix @@ -1063,8 +1054,7 @@
2 }; sandbox = nixpkgs.lib.nixosSystem { - pkgs = pkgsmautrix; - specialArgs.unstable = nixpkgs-mautrix-signal; + specialArgs = {inherit inputs pkgs; }; modules = [ sops-nix.nixosModules.sops ./profiles/sandbox/nixos.nix @@ -1158,11 +1148,9 @@
2 }; matrix = nixpkgs.lib.nixosSystem { - # specialArgs = {inherit pkgsmautrix; }; - pkgs = pkgsmautrix; + specialArgs = {inherit inputs pkgs; }; # this is to import a service module that is not on nixpkgs # this way avoids infinite recursion errors - specialArgs.unstable = nixpkgs-mautrix-signal; modules = [ sops-nix.nixosModules.sops ./profiles/server1/matrix/nixos.nix @@ -1204,11 +1192,7 @@
2 #ovm swarsel swatrix = nixpkgs.lib.nixosSystem { - # specialArgs = {inherit pkgsmautrix; }; - pkgs = pkgsmautrix; - # this is to import a service module that is not on nixpkgs - # this way avoids infinite recursion errors - specialArgs.unstable = nixpkgs-mautrix-signal; + specialArgs = {inherit inputs pkgs; }; modules = [ sops-nix.nixosModules.sops ./profiles/remote/oracle/matrix/nixos.nix @@ -1238,7 +1222,6 @@
2
@@ -1652,6 +1629,7 @@
My laptop, sadly soon to be replaced by a new one, since most basic functions are stopping to work lately.
New setup for the SP3, this time using NixOS - another machine will take over the HM-only config for compatibility in the future.
My new main machine.
@@ -2528,10 +2503,12 @@
@@ -2969,7 +2943,6 @@
This stuff just does not work, I seem to be unable to create a working VPN Split Tunneling on NixOS. Maybe this is introduced by the wonky Proxmox-NixOS container interaction, I am not sure. For now, this machine does not work at all and I am stuck with my Debian Container that does this for me …
My laptop, sadly soon to be replaced by a new one, since most basic functions are stopping to work lately.
@@ -5759,7 +5716,6 @@
@@ -5774,7 +5730,6 @@
@@ -5800,7 +5755,6 @@
@@ -5815,7 +5769,6 @@
@@ -5831,7 +5784,6 @@
@@ -5846,8 +5798,7 @@
The nix store fills up over time, until /boot/efi
is filled. This snippet cleans it automatically on a weekly basis.
@@ -5866,8 +5817,7 @@
This enables hardlinking identical files in the nix store, to save on disk space. I have read this incurs a significant I/O overhead, I need to keep an eye on this. @@ -5884,7 +5834,6 @@
@@ -5904,7 +5853,6 @@
@@ -5913,10 +5861,9 @@
-hardware.opengl = { +hardware.graphics = { enable = true; - driSupport = true; - driSupport32Bit = true; + enable32Bit = true; }; sound.enable = true; @@ -5938,7 +5885,6 @@3
@@ -5953,7 +5899,6 @@
@@ -5983,7 +5928,6 @@
@@ -6138,7 +6081,6 @@
@@ -6172,7 +6114,6 @@
@@ -6187,7 +6128,6 @@
@@ -6227,7 +6167,6 @@
@@ -8197,7 +7878,6 @@
@@ -8215,7 +7895,6 @@
@@ -8235,7 +7914,6 @@
@@ -8253,7 +7931,6 @@
@@ -8300,7 +7977,6 @@
@@ -9508,7 +9152,6 @@
@@ -9548,7 +9191,6 @@
@@ -9579,7 +9221,6 @@
@@ -9612,7 +9253,6 @@
@@ -9656,7 +9296,6 @@
@@ -10165,7 +9795,6 @@
@@ -10185,7 +9814,6 @@
@@ -10397,7 +10017,6 @@
@@ -10416,7 +10035,6 @@
@@ -10530,7 +10148,6 @@
@@ -10559,7 +10176,6 @@
Org-mode
heading are coded within the use-package
setup, so be very careful about moving stuff about here.
@@ -10872,7 +10484,6 @@
@@ -10893,7 +10504,6 @@
@@ -10913,7 +10523,6 @@
@@ -10928,7 +10537,6 @@
@@ -10939,7 +10547,6 @@
@@ -11046,7 +10650,6 @@
@@ -11063,7 +10666,6 @@
@@ -11082,7 +10684,6 @@
@@ -11215,7 +10816,6 @@
This section is here to make Anki usable from within Emacs - an endeavour that I have mostly given up on.
@@ -12453,7 +12023,6 @@
@@ -12475,7 +12044,6 @@