Compare commits
No commits in common. "7ea90427b0d20e6f65fe01d538fb0650c4101055" and "b2858a22612ba2f153b99df861088770ca1a46dc" have entirely different histories.
7ea90427b0
...
b2858a2261
5 changed files with 27 additions and 29 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
(url "https://git.guix.gnu.org/guix.git")
|
(url "https://git.guix.gnu.org/guix.git")
|
||||||
(branch "master")
|
(branch "master")
|
||||||
(commit
|
(commit
|
||||||
"7c7bad305a66da1e83299ce7fa2e96c803667d0a")
|
"d644ca904bca9c67ee83594f607ed7ad79aa5961")
|
||||||
(introduction
|
(introduction
|
||||||
(make-channel-introduction
|
(make-channel-introduction
|
||||||
"9edb3f66fd807b096b48283debdcddccfea34bad"
|
"9edb3f66fd807b096b48283debdcddccfea34bad"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
export PS1='\[\033[38;2;166;227;161m\]\u\[\033[0m\]@\[\033[38;2;137;180;250m\]\h\[\033[0m\]:\[\033[38;2;249;226;175m\]\w${GUIX_ENVIRONMENT:+ [env]}\[\033[0m\]\[\033[38;2;222;221;218m\] \[\033[0m\]'
|
export PS1='\[\033[38;2;166;227;161m\]\u\[\033[0m\]@\[\033[38;2;137;180;250m\]\h\[\033[0m\]:\[\033[38;2;249;226;175m\]\w${GUIX_ENVIRONMENT:+ [env]}\[\033[0m\]\[\033[38;2;222;221;218m\] λ \[\033[0m\]'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
(define-module (guix-config home services flatpak)
|
(define-module (guix-config home services flatpak)
|
||||||
#:use-module (gnu home services)
|
#:use-module (gnu home services)
|
||||||
#:use-module (gnu home services utils)
|
#:use-module (gnu home services utils)
|
||||||
#:use-module (gnu home services shells)
|
|
||||||
#:use-module (gnu services)
|
#:use-module (gnu services)
|
||||||
#:use-module (gnu packages package-management)
|
#:use-module (gnu packages package-management)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
|
|
@ -44,13 +43,29 @@
|
||||||
(run (string-append "flatpak install -y --user " app)))
|
(run (string-append "flatpak install -y --user " app)))
|
||||||
'#$(home-flatpak-configuration-apps config))))
|
'#$(home-flatpak-configuration-apps config))))
|
||||||
|
|
||||||
(define (home-flatpak-env config)
|
(define (home-flatpak-service config)
|
||||||
(home-bash-extension
|
|
||||||
(bashrc
|
|
||||||
(list
|
(list
|
||||||
(file-append (home-flatpak-configuration-flatpak-package config)
|
;; 1. Ensure flatpak installed
|
||||||
"/etc/profile.d/flatpak.sh")))))
|
(simple-service
|
||||||
|
'flatpak-packages
|
||||||
|
home-profile-service-type
|
||||||
|
(list (home-flatpak-configuration-flatpak-package config)))
|
||||||
|
|
||||||
|
;; 2. Add flatpak apps to XDG_DATA_DIRS
|
||||||
|
;; https://forum.systemcrafters.net/t/gnome-software-center-flatpak-support/1702/3
|
||||||
|
(simple-service
|
||||||
|
'flatpak-env
|
||||||
|
home-shell-profile-service-type
|
||||||
|
(list (local-file
|
||||||
|
(string-append (getenv "HOME") "/.guix-profile/etc/profile.d/flatpak.sh")
|
||||||
|
"flatpak.sh")))
|
||||||
|
|
||||||
|
|
||||||
|
;; 3. Activation phase
|
||||||
|
(simple-service
|
||||||
|
'flatpak-activation
|
||||||
|
home-activation-service-type
|
||||||
|
(home-flatpak-activation config))))
|
||||||
|
|
||||||
(define home-flatpak-service-type
|
(define home-flatpak-service-type
|
||||||
(service-type
|
(service-type
|
||||||
|
|
@ -58,8 +73,6 @@
|
||||||
(extensions
|
(extensions
|
||||||
(list (service-extension home-profile-service-type
|
(list (service-extension home-profile-service-type
|
||||||
(compose list home-flatpak-configuration-flatpak-package))
|
(compose list home-flatpak-configuration-flatpak-package))
|
||||||
(service-extension home-bash-service-type
|
|
||||||
home-flatpak-env)
|
|
||||||
(service-extension home-activation-service-type
|
(service-extension home-activation-service-type
|
||||||
home-flatpak-activation)))
|
home-flatpak-activation)))
|
||||||
(default-value (home-flatpak-configuration))
|
(default-value (home-flatpak-configuration))
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@
|
||||||
#:use-module (gnu packages xdisorg)
|
#:use-module (gnu packages xdisorg)
|
||||||
#:use-module (gnu packages monitoring)
|
#:use-module (gnu packages monitoring)
|
||||||
#:use-module (gnu packages video)
|
#:use-module (gnu packages video)
|
||||||
#:use-module (gnu packages texlive)
|
|
||||||
#:use-module (gnu services)
|
#:use-module (gnu services)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:use-module (gnu home services shells)
|
#:use-module (gnu home services shells)
|
||||||
|
|
@ -48,7 +47,6 @@
|
||||||
#:use-module (gnu packages gimp)
|
#:use-module (gnu packages gimp)
|
||||||
#:use-module (gnu packages inkscape)
|
#:use-module (gnu packages inkscape)
|
||||||
#:use-module (gnu packages wm)
|
#:use-module (gnu packages wm)
|
||||||
#:use-module (gnu packages dns)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(define tune
|
(define tune
|
||||||
|
|
@ -58,8 +56,6 @@
|
||||||
;; Below is the list of packages that will show up in your
|
;; Below is the list of packages that will show up in your
|
||||||
;; Home profile, under ~/.guix-home/profile.
|
;; Home profile, under ~/.guix-home/profile.
|
||||||
(packages (list git
|
(packages (list git
|
||||||
texlive
|
|
||||||
libnotify
|
|
||||||
kitty
|
kitty
|
||||||
btop
|
btop
|
||||||
fastfetch
|
fastfetch
|
||||||
|
|
@ -84,8 +80,6 @@
|
||||||
nautilus
|
nautilus
|
||||||
dankmaterialshell
|
dankmaterialshell
|
||||||
secretsd
|
secretsd
|
||||||
`(,isc-bind "utils") ;; dig for dns
|
|
||||||
inetutils
|
|
||||||
xournalpp))
|
xournalpp))
|
||||||
|
|
||||||
;; Below is the list of Home services. To search for available
|
;; Below is the list of Home services. To search for available
|
||||||
|
|
@ -122,9 +116,9 @@
|
||||||
(home-dotfiles-configuration
|
(home-dotfiles-configuration
|
||||||
(directories '("../../files"))))
|
(directories '("../../files"))))
|
||||||
;(service home-secretsd-service-type)
|
;(service home-secretsd-service-type)
|
||||||
(service home-flatpak-service-type
|
;(service home-flatpak-service-type
|
||||||
(home-flatpak-configuration
|
; (home-flatpak-configuration
|
||||||
(apps '("io.ente.photos"))))
|
; (apps '("in.cinny.Cinny"))))
|
||||||
(service home-emacs-service-type
|
(service home-emacs-service-type
|
||||||
(home-emacs-configuration
|
(home-emacs-configuration
|
||||||
(emacs (tune guixmacs))
|
(emacs (tune guixmacs))
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,10 @@
|
||||||
(define-module (guix-config system anaconda)
|
(define-module (guix-config system anaconda)
|
||||||
#:use-module (gnu)
|
#:use-module (gnu)
|
||||||
#:use-module (guix transformations)
|
|
||||||
#:use-module (guix packages)
|
|
||||||
#:use-module (gnu packages linux)
|
|
||||||
#:use-module (guix-config system base-system))
|
#:use-module (guix-config system base-system))
|
||||||
|
|
||||||
(define tune
|
|
||||||
(options->transformation '((tune . "alderlake"))))
|
|
||||||
|
|
||||||
(operating-system
|
(operating-system
|
||||||
(inherit base-system)
|
(inherit base-system)
|
||||||
(host-name "anaconda")
|
(host-name "anaconda")
|
||||||
(kernel (tune (package
|
|
||||||
(inherit linux-libre)
|
|
||||||
(properties '((tunable? . #t))))))
|
|
||||||
(bootloader (bootloader-configuration
|
(bootloader (bootloader-configuration
|
||||||
(bootloader grub-efi-bootloader)
|
(bootloader grub-efi-bootloader)
|
||||||
(targets (list "/boot/efi"))
|
(targets (list "/boot/efi"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue