From 8b669d32b9566b67cd46fa40a9d1236031d5f7fc Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Mon, 27 Nov 2023 11:24:47 +0100 Subject: [PATCH] . --- chicken/chicken.nix | 17 ++++++++++++++--- configuration.nix | 8 ++++++-- emacs/init.el | 11 +++++++++-- home.nix | 16 ++++++++++++++-- 4 files changed, 43 insertions(+), 9 deletions(-) diff --git a/chicken/chicken.nix b/chicken/chicken.nix index a12add0..a7e5a13 100644 --- a/chicken/chicken.nix +++ b/chicken/chicken.nix @@ -1,7 +1,7 @@ -{ config, libs, pkgs, ... }: +{ config, home, libs, pkgs, ... }: { - config.home.packages = with pkgs.chickenPackages_5.chickenEggs; [ + home.packages = with pkgs.chickenPackages_5.chickenEggs; [ apropos chicken-doc chicken-update @@ -18,5 +18,16 @@ srfi-69 srfi-197 utf8 - ] ++ [ pkgs.chicken ]; + ] ++ [ pkgs.chicken ]; + + nixpkgs.overlays = [ + (final: prev: { + chicken = prev.chicken.overrideAttrs (oldAttrs: { + postInstall = (oldAttrs.postInstall or "") + '' + cd `csi -R chicken.platform -p '(chicken-home)'` + curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz | sudo tar zx + ''; + }); + }) + ]; } diff --git a/configuration.nix b/configuration.nix index 3659970..add7f37 100644 --- a/configuration.nix +++ b/configuration.nix @@ -82,7 +82,7 @@ users.users.zilti = { isNormalUser = true; - extraGroups = [ "wheel" ]; + extraGroups = [ "wheel" "libvirtd" ]; }; # List packages installed in system profile. To search, run: @@ -94,8 +94,12 @@ gnumake ]; + programs.virt-manager.enable = true; virtualisation = { + libvirtd = { + enable = true; + }; podman = { enable = true; dockerCompat = true; @@ -161,7 +165,7 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "23.05"; # Did you read the comment? + system.stateVersion = "23.11"; # Did you read the comment? } diff --git a/emacs/init.el b/emacs/init.el index 504e498..0db3a70 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -694,10 +694,17 @@ Point must be at the beginning of balanced expression (sexp)." :ensure t :hook (circe-chat-mode . enable-circe-color-nicks) - (circe-chat-mode . auto-fill-mode) :custom (circe-network-options - '(("Lyrion Libera Chat" + '(("Lyrion OFTC" + :host "lyrion.ch" + :port 6697 + :tls t + :nick "zilti" + :sasl-username "zilti/irc.oftc.net" + :sasl-password (lambda (_) + (password-store-get "Privat/Soju"))) + ("Lyrion Libera Chat" :host "lyrion.ch" :port 6697 :tls t diff --git a/home.nix b/home.nix index ee8d300..f5d6838 100644 --- a/home.nix +++ b/home.nix @@ -17,6 +17,7 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }: clojure-lsp coreutils-full discord + edwood file fossil fprintd-tod @@ -29,6 +30,7 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }: git-filter-repo grim guix + home-manager hyprpaper iconv kteatime @@ -59,11 +61,11 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }: pinentry-qt pixman plan9port - qt6.full - edwood podman-compose + qt6.full pwvucontrol qtpass + senpai signal-desktop slack slurp @@ -271,6 +273,16 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }: programs.gpg = { enable = true; }; + home.file.".config/senpai/senpai.scfg" = { + enable = true; + text = '' + address ircs://lyrion.ch + nickname zilti + realname "Daniel Ziltener" + password-cmd pass show Privat/Soju + ''; + }; + home.file.".gnupg/gpg-agent.conf" = { enable = true; text = ''