Compare commits
5 Commits
62209c33b0
...
ba0464f7ca
Author | SHA1 | Date |
---|---|---|
Ryan Rix | ba0464f7ca | |
Ryan Rix | c8849448aa | |
Ryan Rix | 6f78209788 | |
Ryan Rix | 1f8f83b9ac | |
Ryan Rix | d5b65613c3 |
|
@ -77,8 +77,9 @@ in
|
|||
(mkNixGLWrapper { name="xournal"; })
|
||||
(mkNixGLWrapper { name="xournalpp"; })
|
||||
|
||||
# (mkNixGLWrapper { name="element-desktop"; })
|
||||
(mkNixGLWrapper { name="schildichat-desktop"; })
|
||||
(mkNixGLWrapper { name="element-desktop"; })
|
||||
# https://github.com/NixOS/nixpkgs/pull/272270 🫡
|
||||
# (mkNixGLWrapper { name="schildichat-desktop"; })
|
||||
(mkNixGLWrapper { name="neochat"; })
|
||||
(mkNixGLWrapper { name="discord"; })
|
||||
(mkNixGLWrapper { name="signal-desktop"; })
|
||||
|
|
|
@ -16,7 +16,6 @@ This [[id:09779ac0-4d5f-40db-a340-49595c717e03][noweb]] document constructs a cu
|
|||
- I deploy firefox with settings in both =about:config= below and enterprise policies [[id:firefox-with-policy][further down]].
|
||||
- =userChrome.css= and =userContent.css= loaded from [[id:cce/firefox_user_chrome][A Custom Firefox User Chrome]]
|
||||
- *this sucked and fought with firefox sync, didn't hit the security considerations I was hoping for*: Extensions are defined [[id:firefox-nix-extensions][below]] and bundled in to my Nix deployments
|
||||
|
||||
|
||||
#+begin_src nix :tangle ~/arroyo-nix/hm/firefox.nix :noweb yes -r
|
||||
{ config, pkgs, ... }:
|
||||
|
@ -29,6 +28,7 @@ This [[id:09779ac0-4d5f-40db-a340-49595c717e03][noweb]] document constructs a cu
|
|||
};
|
||||
home.sessionVariables = {
|
||||
GTK_USE_PORTAL = 1; # (ref:gtk-use-portal)
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
};
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
@ -92,7 +92,7 @@ per [[https://github.com/NixOS/nixpkgs/blob/master/doc/builders/packages/firefox
|
|||
#+begin_src nix
|
||||
pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||
# nixExtensions = pkgs.callPackage ./firefox {}; # (ref:extensionsImport)
|
||||
extraNativeMessagingHosts = [
|
||||
nativeMessagingHosts = [
|
||||
pkgs.plasma5Packages.plasma-browser-integration
|
||||
pkgs.browserpass
|
||||
pkgs.tridactyl-native
|
||||
|
|
|
@ -82,12 +82,21 @@ Make the sound work and the console legible.
|
|||
|
||||
Gotta have the soft keyboard since I'm actually goign to use this as a tablet for light web browsing. It still has to be enabled in System Settings, I need to automate the declarative setup of KDE and Plasma...
|
||||
|
||||
#+begin_src
|
||||
#+begin_src nix :tangle ~/arroyo-nix/nixos/gpd-pocket-3.nix
|
||||
environment.systemPackages = [
|
||||
pkgs.maliit-framework
|
||||
pkgs.maliit-keyboard
|
||||
pkgs.wl-clipboard
|
||||
];
|
||||
|
||||
services.xserver.desktopManager.plasma5 = {
|
||||
kwinrc = {
|
||||
"Wayland" = {
|
||||
"InputMethod[$e]" = "/run/current-system/sw/share/applications/com.github.maliit.keyboard.desktop";
|
||||
"VirtualKeyboardEnabled" = "true";
|
||||
};
|
||||
};
|
||||
};
|
||||
#+END_SRC
|
||||
|
||||
Include the rotate script below:
|
||||
|
|
25
kde-base.org
25
kde-base.org
|
@ -87,7 +87,28 @@ I customize my KDE installation a fair bit both within [[id:cce/home-manager][ho
|
|||
partition-manager
|
||||
gparted
|
||||
plasma5Packages.kamoso
|
||||
plasma5Packages.bismuth
|
||||
(libsForQt5.bismuth.overrideAttrs
|
||||
(finalAttrs: previousAttrs: {
|
||||
patches =
|
||||
(previousAttrs.patches or [])
|
||||
++ [
|
||||
# (fetchpatch {
|
||||
# name = "bismuth-3.1-4-border-color.patch";
|
||||
# url = "https://github.com/I-Want-ToBelieve/bismuth/commit/dac110934fe1ae0da9e4aca8c331f27987b033cf.patch";
|
||||
# sha256 = "sha256-3fQs/A4hc/qeiu+792nZBTl4ujg8rQD25kuwNr03YUs=";
|
||||
# })
|
||||
# (fetchpatch {
|
||||
# name = "bismuth-3.1-4-static-block.patch";
|
||||
# url = "https://github.com/I-Want-ToBelieve/bismuth/commit/99438b55a82f90d4df3653d00f1f0978eddc2725.patch";
|
||||
# sha256 = "sha256-jEt0YdS7k0bJRIS0UMY21o71jgrJcwNp3gFA8e8TG6I=";
|
||||
# })
|
||||
(fetchpatch {
|
||||
name = "bismuth-3.1-4-window-id.patch";
|
||||
url = "https://github.com/jkcdarunday/bismuth/commit/ce377a33232b7eac80e7d99cb795962a057643ae.patch";
|
||||
sha256 = "sha256-15txf7pRhIvqsrBdBQOH1JDQGim2Kh5kifxQzVs5Zm0=";
|
||||
})
|
||||
];
|
||||
}))
|
||||
]);
|
||||
|
||||
# auto login
|
||||
|
@ -95,7 +116,7 @@ I customize my KDE installation a fair bit both within [[id:cce/home-manager][ho
|
|||
services.xserver.displayManager = {
|
||||
autoLogin.enable = true;
|
||||
autoLogin.user = "rrix";
|
||||
defaultSession = "plasma";
|
||||
defaultSession = "plasmawayland";
|
||||
lightdm.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -58,6 +58,10 @@ rec {
|
|||
|
||||
services.openssh.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pkgs.htop
|
||||
];
|
||||
|
||||
boot = {
|
||||
kernelParams = [ "console=ttyS0" "boot.shell_on_fail" ];
|
||||
loader.timeout = 5;
|
||||
|
@ -122,7 +126,6 @@ rec {
|
|||
(-map (lambda (r) (format "../../%s" r)))
|
||||
(butlast)
|
||||
(s-join "\n"))
|
||||
;; (shell-command-to-string "nix run path:/home/rrix/org/arcology-django#arcology -- generate -m home-manager -r server 2>/dev/null | sort")
|
||||
#+end_src
|
||||
|
||||
#+results: arroyo_home-manager_imports
|
||||
|
|
|
@ -20,7 +20,7 @@ When I capture a web page using [[id:cce/org_protocol][org-protocol to quickly a
|
|||
(defun cce/org-roam-rename-file (file)
|
||||
(interactive
|
||||
(list
|
||||
(if (org-roam--org-roam-file-p)
|
||||
(if (org-roam-file-p)
|
||||
(buffer-file-name)
|
||||
(ivy-read "File: " (ivy--sorted-files org-roam-directory)))))
|
||||
(let ((destination
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
:ID: cce/toggle_bright_dark_theme_in_emacs_kde_and_firefox
|
||||
:END:
|
||||
#+TITLE: Toggle Bright/Dark Theme in Emacs, KDE and FireFox
|
||||
#+filetags: :CCE:
|
||||
#+filetags: :Project:CCE:
|
||||
|
||||
#+ARROYO_EMACS_MODULE: toggle-theme
|
||||
#+ARCOLOGY_KEY: cce/toggle-theme
|
||||
|
@ -25,7 +25,7 @@ Those code could really use a re-factor already, and I just wrote it! toggles li
|
|||
(disable-theme cce/light-theme)
|
||||
(enable-theme cce/dark-theme)
|
||||
(save-excursion
|
||||
(call-process-shell-command "lookandfeeltool -a 'org.kde.breezedark.desktop'")
|
||||
(call-process-shell-command "lookandfeeltool -a 'garden.arcology.arroyo.bismuth'")
|
||||
;; (cce/toggle-firefox-darkreader)
|
||||
))
|
||||
|
||||
|
@ -35,7 +35,7 @@ Those code could really use a re-factor already, and I just wrote it! toggles li
|
|||
(disable-theme cce/dark-theme)
|
||||
(enable-theme cce/light-theme)
|
||||
(save-excursion
|
||||
(call-process-shell-command "lookandfeeltool -a 'org.kde.breeze.desktop'")
|
||||
(call-process-shell-command "lookandfeeltool -a 'garden.arcology.arroyo.bismuth.light'")
|
||||
;; (cce/toggle-firefox-darkreader)
|
||||
))
|
||||
|
||||
|
@ -55,5 +55,12 @@ Those code could really use a re-factor already, and I just wrote it! toggles li
|
|||
((eq active-theme cce/light-theme)
|
||||
(cce/switch-dark-theme))
|
||||
((eq active-theme cce/dark-theme)
|
||||
(cce/switch-light-theme)))))
|
||||
(cce/switch-light-theme))))
|
||||
(cce-update-org-todo-keyword-faces))
|
||||
#+END_SRC
|
||||
|
||||
* NEXT move the look-and-feel themes int o code control
|
||||
|
||||
[rrix@virtuous-cassette:~/org/arcology-django]$ find ~ -name "garden.arcology.arroyo.*"
|
||||
/home/rrix/.local/share/plasma/look-and-feel/garden.arcology.arroyo.bismuth.light
|
||||
/home/rrix/.local/share/plasma/look-and-feel/garden.arcology.arroyo.bismuth
|
||||
|
|
Loading…
Reference in New Issue