updates to make kaladin a substitute server

This helps me to use it's much faster processer to build packages like
firefox and then install them in syl.
This commit is contained in:
Chris Cochrun 2023-06-28 11:30:36 -05:00
parent 482c123e21
commit ac0230236a
5 changed files with 40 additions and 24 deletions

View file

@ -148,11 +148,14 @@ YOUR-USER-NAME ALL=(ALL) NOPASSWD:/run/current-system/profile/bin/chvt,/run/cur
(guix-service-type config => (guix-configuration (guix-service-type config => (guix-configuration
(inherit config) (inherit config)
(substitute-urls (substitute-urls
(append (list "https://substitutes.nonguix.org") (append (list "https://substitutes.nonguix.org" "http://172.16.1.7:8080")
%default-substitute-urls)) %default-substitute-urls))
(authorized-keys (authorized-keys
(append (list (plain-file "nonguix.pub" "(public-key (ecc (curve Ed25519) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))")) (append (list
%default-authorized-guix-keys)))) (plain-file "nonguix.pub" "(public-key (ecc (curve Ed25519) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))")
(plain-file "kaladin.pub" "(public-key (ecc (curve Ed25519) (q #7C5E5BEDFC0650E10AE70762F481021C0633C57376DFC7B1C3C4BE0115FD4264#)))"))
%default-authorized-guix-keys))
(discover? #t)))
;; greetd-service-type provides "greetd" PAM service ;; greetd-service-type provides "greetd" PAM service
(delete login-service-type) (delete login-service-type)
(delete console-font-service-type) (delete console-font-service-type)

View file

@ -26,6 +26,8 @@
(name 'rosenthal) (name 'rosenthal)
(url "https://codeberg.org/hako/rosenthal.git") (url "https://codeberg.org/hako/rosenthal.git")
(branch "trunk") (branch "trunk")
(commit
"5cf74520915e50c92b4b327bfacbd25a5b0d1369")
(introduction (introduction
(make-channel-introduction (make-channel-introduction
"7677db76330121a901604dfbad19077893865f35" "7677db76330121a901604dfbad19077893865f35"

View file

@ -6,33 +6,33 @@
home.stateVersion = "23.05"; home.stateVersion = "23.05";
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
# eww-wayland eww-wayland
swww swww
starship starship
# The guix version of dolphin isn't built for wayland and can't find the icon theme # The guix version of dolphin isn't built for wayland and can't find the icon theme
dolphin dolphin
ark ark
pmbootstrap pmbootstrap
element-desktop element-desktop-wayland
]; ];
programs.firefox = { # programs.firefox = {
enable = true; # enable = true;
package = pkgs.firefox-wayland.override { # package = pkgs.firefox-wayland.override {
cfg = { # cfg = {
enableTridactylNative = true; # enableTridactylNative = true;
enablePlasmaBrowserIntegration = true; # enablePlasmaBrowserIntegration = true;
}; # };
}; # };
profiles.chris = { # profiles.chris = {
name = "default"; # name = "default";
path = "chris.default"; # path = "chris.default";
isDefault = true; # isDefault = true;
}; # };
}; # };
home.file.".mozilla/native-messaging-hosts".source = "/home/chris/.nix-profile/lib/mozilla/native-messaging-hosts"; # home.file.".mozilla/native-messaging-hosts".source = "/home/chris/.nix-profile/lib/mozilla/native-messaging-hosts";
accounts.email = { accounts.email = {
maildirBasePath = "mail"; maildirBasePath = "mail";

View file

@ -43,4 +43,13 @@
(device (uuid (device (uuid
"9b5a1a62-0de6-4e07-a541-634736980d10" "9b5a1a62-0de6-4e07-a541-634736980d10"
'btrfs)) 'btrfs))
(type "btrfs")) %base-file-systems))) (type "btrfs")
(options "noatime,ssd,space_cache,clear_cache,compress=zstd"))
(file-system
(mount-point "/home/chris/storage")
(device (uuid
"4c7d4273-7b72-4aa8-8e1c-e281543d06cb"
'btrfs))
(type "btrfs")
(options "space_cache,clear_cache,compress=zstd"))
%base-file-systems)))

View file

@ -34,4 +34,6 @@
(device (uuid (device (uuid
"db28ba7c-a15d-4c81-8373-99f2f171cac5" "db28ba7c-a15d-4c81-8373-99f2f171cac5"
'btrfs)) 'btrfs))
(type "btrfs")) %base-file-systems))) (type "btrfs")
(options "ssd,space_cache,clear_cache,compress=zstd"))
%base-file-systems)))