Re: Anyone using Guix + Gnome + Japanese-Input, please let me know!
Thank you everyone! ありがとうございました! I deleted the whole ~/.cache directory, and restarted my computer - it seems to have done the trick. (Although not 100% certain because my "experiment" was not completely controlled...) It's a travesty that such a simple thing fails without a lot of explanation... Maybe some kind of automatic end-user testing is what we need? If there is a set of UI tests I can run frequently, that would be great! -Yasu On Tue, 2022-05-31 at 08:22 -0400, Dominic Martinez wrote: > > yasu writes: > > > It must has been a while since I last used Japanese input on my > > Linux > > system - I have just realized that I can no longer select > > Japanese > > Input (Anthy) from Gnome on my Guix OS. > > Can you try running ~rm -rf ~/.cache/ibus~? That usually fixes it > for me. >
nvme0n1p1 (NVME/M2/SSD) boot device recovery
Hello! I have just had a horrible experience of my Asus motherboard (TUF GAMING X570-PLUS) suddenly not booting...The NVME device (CSSD- M2B05GPG2VN) was no longer availalbe on the list of bootable devices from BIOS menu of the motherboard. I still don't know exactly what happened but my suspicion is that something triggered the 'reset' of the motherboard (may have been that the cr2032 battery went bad? I replaced it) Here is what I did to solve it: - I downloaded SystemRescue https://www.system-rescue.org/ , created a USB thumbdrive boot device. - After booting from it, I ran efibootmgr -c -d /dev/nvme0n1p1 -p 1 -L "Guix" -l "\EFI\Guix\grubx64.efi" - Finally, I was able to select the NVME boot device. It seemes that onboard ethernet (Probaly RealTek) completely died at the same time... I tried various BIOS recovery procedure such as triggeron ON/OFF of LAN from Bios Settings screen, updating to the latest BIOS, etc, - none of it worked. So I am using a USB3.0 Ethernet Adaptor right now. I hope this memo will be of use to someone in the future! -Yasu
Re: Installation: Load non-free wifi firmware (iwlwifi)
This is also an old topic, but we need lesser-help-guix@... The help-guix@... seems so much against even discussion of such things... So for now (and let me stress, I do not like this situation of self- imposed-gagging and would like to help create alternative communication forums), let me send you something personally! -Yasu On Wed, 2022-05-11 at 12:19 +, 白い熊 wrote: > Clément Lassieur writes: > > > Guix allows one to customize their packages through inheritance. > > You > > could create a custom linux package that inherits Guix's linux- > > libre, > > with, say a differente source. When linux-libre is updated, my- > > linux > > would be updated as well, since it inherits linux-libre. Thus, you > > would have no maintainance to do. > > > > (define-public my-linux > > (package > > (inherit linux-libre) > > (name "my-linux") > > (source ...))) > > Sorry to revive an extra-old topic, however my problem now is exactly > this – I've purchased the GPD Pocket 3 which is a very nice little > machine, powerful, and have to use it without a USB dongle. It uses > Intel > AX210 802.11ax (2.4/5/6Ghz), BT 5.2, so needs iwlwifi modules. > > I'm running Ubuntu Mate on it in parallel – without any issues. > > Now, I've set up Guix System on it without problems. > > However am not fluent enough to utilize the above solution to define > an > inheritance for the current Linux kernel from git and put it in > system.scm to reconfigure the system with it. > > Could someone share with me the system.cfg snippet that would enable > me > to load the non-free firmware? > > Many thanks. >
Re: "Live Sharing" on VSCodium
Oops, sorry never mind... - VScodium is a third-party package - let me ask there. On 16.12.2021 20:26, y...@yasuaki.com wrote: If anyone here uses the Microsoft's "Live Share" feature of VSCodium, please let me know how you did it! I can't figure it out... https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/linux#install-linux-prerequisites Cheers, Yasu
"Live Sharing" on VSCodium
If anyone here uses the Microsoft's "Live Share" feature of VSCodium, please let me know how you did it! I can't figure it out... https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/linux#install-linux-prerequisites Cheers, Yasu
Re: Bug? coqide missing? (in package coq, version 8.11.2)
Hi Julien, O, I see, I didn't know anything about these "sub-packages" that follow colon. Is there anything we can do to make it less confusing? One way would be to allow the user to type coqide, or whatever the executable they please, and search for all the possible package names and suggest a way to install an existing package that matches. I imagine something like: > coqide * The command coqide is provided by coq:ide. To install it, run: guix install coq:ide > :-) Yasu On Sat, 2021-03-20 at 06:48 -0400, Julien Lepiller wrote: > Hi Yasu, > > This is not a bug: coqide brings a lot of dependencies, so it's in a > separate output, as you can see with guix search or guix show. To > install it, install the ide output, like so: > > guix install coq:ide > > Le 20 mars 2021 02:11:30 GMT-04:00, yasu a écrit : > > Hello, > > > > After installing COQ using: > >guix install coq > > > > I was perplexed that I could not find the coqide program. > > Howerver, GUIX does seem to build it: > > > > > > ~$ guix build coq > >/gnu/store/zns66i9iacpkya3mabvygykir5xwl5c4-coq-8.11.2-ide > >/gnu/store/n8g37cv0028wds959rjgpl5dsj3p3xl0-coq-8.11.2 > > > > ~$ ls /gnu/store/zns66i9iacpkya3mabvygykir5xwl5c4-coq-8.11.2- > > ide/bin > >coqide > > > > > > The fact that this coqide is not brought to user profile - is this > > a > > bug? > > > > -Yasu > > > >
Bug? coqide missing? (in package coq, version 8.11.2)
Hello, After installing COQ using: guix install coq I was perplexed that I could not find the coqide program. Howerver, GUIX does seem to build it: ~$ guix build coq /gnu/store/zns66i9iacpkya3mabvygykir5xwl5c4-coq-8.11.2-ide /gnu/store/n8g37cv0028wds959rjgpl5dsj3p3xl0-coq-8.11.2 ~$ ls /gnu/store/zns66i9iacpkya3mabvygykir5xwl5c4-coq-8.11.2-ide/bin coqide The fact that this coqide is not brought to user profile - is this a bug? -Yasu
Re: Bug? Haskell GHC wont' work since ghc@8.6?
Hi John, Oh, I see! I wonder if it possible to have a more convinient haskell-for-a-casual-developer like package or: parameterize the command itself, say: guix install ghc -option1=blah, -option2=blah, and provide default options as well? In the very least, a warning message explaining this after: guix install ghc Might do. Lots of ideas :-) Cheers, yasu On Sun, 2021-01-10 at 22:18 -0800, John Soo wrote: > Hi yasu, > > This question comes up on the mailing list every so often, but I > don’t think it is a bug. I want to be able to choose the c toolchain > ghc uses myself. I would rather introduce some Haskell specific > documentation. > > We discussed during the guix day that we would love to have some > language specific setup documentation. I had issues like this in > mind. > > - John
Re: Bug? Haskell GHC wont' work since ghc@8.6?
Hi John, Thank you, after installing gcc-toolchain, it worked! Then this is indeed a bug that should be very simple to fix? Just require gcc-toolchain (or some of its required features) as a GHC's dependency? I am also curious, what kind of testing (if any?) does Guix perform for packages?? Or is GHC already marked as broken? (Apology for repeated question marks :-)) ~/co/haskell-tiny-intro/exercise (master *)$ guix install gcc- toolchain...~/co/haskell-tiny-intro/exercise (master *)$ ghc a.hs[1 of 1] Compiling Main ( a.hs, a.o )Linking a ...~/co/haskell- tiny-intro/exercise (master *)$ ghc --versionThe Glorious Glasgow Haskell Compilation System, version 8.8.3 Cheers, Yasu On Sun, 2021-01-10 at 21:49 -0800, John Soo wrote: > Hi yasu, > Compiling with ghc requires a c toolchain (like gcc-toolchain) > installed to work. Can you try again after installing gcc-toolchain? > Ghc has not been perfect for me recently but I use it quite a lot. > > Hope that helps, > > John
Bug? Haskell GHC wont' work since ghc@8.6?
This one ought to be very simple to solve (or at least confirm). Does anyone use Haskell daily? I am a very casual user of Haskell (GHC) and when I tried to compile something just now, I noticed that it can't even compile the simplest possible program..., unless I downgrade to ghc@8.4 or lower. Newer versions, including ghc@8.6.5, didn't work, throwing the error message below instead. ~/co/haskell-tiny-intro/exercise (master *)$ cat a.hs main = putStrLn "a" ~/co/haskell-tiny-intro/exercise (master *)$ ghc a.hs Linking a ... .gcc-wrapped: error: unrecognized command line option '-no-pie' `gcc' failed in phase `C Compiler'. (Exit code: 1) Cheers, Yasu
Working Configuration for Wayland Auto-Login?
Hi! Does anyone have a working example configuration that enables Wayland Auto-Login? I tried to use: (auto-login-user "yasu") (auto-login-session "gnome.desktop") by guessing from the description at: https://guix.gnu.org/manual/en/html_node/X-Window.html But whenever I added those below the remember-last-user? line at: (service sddm-service-type (sddm-configuration (display-server "wayland") (remember-last-user? #t) )) The session changed to X11, and was not Wayland anymore. I have just noticed that Wayalnd is way faster than X11 for my terminal program Kitty. The mouse cursor seems much smoother as well. Let me paste my system description at the bottom. Cheers, Yasu ~$ guix system describe Generation 5664 Dec 26 2020 09:55:34(current) file name: /var/guix/profiles/system-5664-link canonical file name: /gnu/store/yxyrcf7vwlvkmi8y3znwcpas8gflqw1k- system label: GNU with Linux 5.9.16 bootloader: grub-efi root device: label: "my-root" kernel: /gnu/store/vniw1mkx65g3hv6y371m88lvhg588yap-linux- 5.9.16/bzImage channels: guix: repository URL: https://github.com/guix-mirror/guix.git branch: master commit: 9302c28cbccbb245410224a3e860f7d2ef55d29d nonguix: repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 89d954d7bad819cb0ce0a42aed2a3f731622f5d1 guix-chromium: repository URL: https://gitlab.com/mbakke/guix-chromium.git branch: master commit: 2de450b92e5f2624d4f964407686934e22239f7b configuration file: /gnu/store/i206zp7v0nyjmj0bc6pvcspxdwq2x5gw- configuration.scm ~$ cat /gnu/store/i206zp7v0nyjmj0bc6pvcspxdwq2x5gw-configuration.scm (use-modules (gnu) (gnu system nss) (gnu services sddm) (srfi srfi-1) (nongnu packages linux) (nongnu system linux-initrd) ) (use-service-modules desktop xorg) (use-package-modules certs gnome) (operating-system (kernel linux) (initrd microcode-initrd) (firmware (list linux-firmware)) (host-name "guix") (timezone "Asia/Tokyo") (locale "en_US.utf8") (sudoers-file (plain-file "sudoers" (string-append (plain-file-content %sudoers- specification) "yasu ALL = NOPASSWD: ALL\n"))) (keyboard-layout (keyboard-layout "us")) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) (file-systems (append (list (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4") ) (file-system (device (uuid "C2D0-0B91" 'fat)) (mount-point "/boot/efi") (type "vfat"))) %base-file-systems)) (swap-devices (list "/dev/nvme0n1p3")) (users (cons (user-account (name "yasu") (comment "yasu") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list ;; for HTTPS access nss-certs ;; for user mounts gvfs) %base-packages)) (services (cons* (service gnome-desktop-service-type) (service sddm-service-type (sddm-configuration (display-server "wayland") (remember-last-user? #t) )) (modify-services (remove (lambda (service) (member (service-kind service) (list gdm-service-type))) %desktop-services) ;end of remove lambda services ) ;;end of modify-services ));;end of services ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss))
guix system reconfigure won't run since commit 6a060ff27ff68384d7c90076baa36c349fff689d
Hi, On my system, guix system reconfigure stopped running since commit: 6a060ff27ff68384d7c90076baa36c349fff689d. The last good commit was its parent: dea1ee1fd740248307f74ca4cb70b94742264098 Regards, Yasu ~$ sudo guix system reconfigure ~/config.scm The following derivations will be built: /gnu/store/qhvxbh8fa832wd3j36j2lzlci5mdvyv9-system.drv /gnu/store/hkipg032lph2krlvdmsgyijxd10ywvaq-combined-initrd.drv /gnu/store/c063b54m10j25j1w72c8j71ybchx2ppf-microcode-initrd.drv /gnu/store/izqw36p3q10amfn1vq1wvghi1ihys6xa-module-import- compiled.drv /gnu/store/yjlp5dp89saaasymxmls2jdshp8dbn6q-intel-microcode- 20201118.drv /gnu/store/961s8ggdwrv0zhks4q756xbsjbvgphls-intel-microcode- 20201118-checkout.drv /gnu/store/kj08l70y2jzwigkj5ncnhahj6cbxc8qr-module-import- compiled.drv /gnu/store/jmk4d8nna8mdwwsaqvibfr05d3m38py0-module-import- compiled.drv /gnu/store/zx61i0p7p6g23jsm4vp2icsqxypixiqw-raw-initrd.drv /gnu/store/z2cwj7an5nwgzqfy9904drc8bhfhyqqy-parameters.drv /gnu/store/ppnr4xm0zrfk3wmk3hzyqvn87fbfm6vf-grub.cfg.drv building /gnu/store/jmk4d8nna8mdwwsaqvibfr05d3m38py0-module-import- compiled.drv... building /gnu/store/izqw36p3q10amfn1vq1wvghi1ihys6xa-module-import- compiled.drv... 46% [ ] builder for `/gnu/store/izqw36p3q10amfn1vq1wvghi1ihys6xa-module-import- compiled.drv' failed with exit code 1 build of /gnu/store/izqw36p3q10amfn1vq1wvghi1ihys6xa-module-import- compiled.drv failed View build log at '/var/log/guix/drvs/iz/qw36p3q10amfn1vq1wvghi1ihys6xa-module-import- compiled.drv.bz2'. cannot build derivation `/gnu/store/c063b54m10j25j1w72c8j71ybchx2ppf- microcode-initrd.drv': 1 dependencies couldn't be built building /gnu/store/zx61i0p7p6g23jsm4vp2icsqxypixiqw-raw-initrd.drv... cannot build derivation `/gnu/store/hkipg032lph2krlvdmsgyijxd10ywvaq- combined-initrd.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/ppnr4xm0zrfk3wmk3hzyqvn87fbfm6vf- grub.cfg.drv': 1 dependencies couldn't be built guix system: error: build of `/gnu/store/ppnr4xm0zrfk3wmk3hzyqvn87fbfm6vf-grub.cfg.drv' failed ~$ ~$ This is the content of: /var/log/guix/drvs/iz/qw36p3q10amfn1vq1wvghi1ihys6xa-module-import- compiled.drv.bz2 [ 1/26] Loading './gnu/build/linux-initrd.scm'... [ 2/26] Loading './guix/base32.scm'... [ 3/26] Loading './guix/build/store-copy.scm'... [ 4/26] Loading './guix/build/syscalls.scm'... [ 5/26] Loading './guix/build/utils.scm'... [ 6/26] Loading './guix/combinators.scm'... [ 7/26] Loading './guix/cpio.scm'... [ 8/26] Loading './guix/progress.scm'... [ 9/26] Loading './guix/records.scm'... [10/26] Loading './guix/serialization.scm'... [11/26] Loading './guix/sets.scm'... [12/26] Loading './guix/store/deduplication.scm'... ;;; Failed to autoload copy-file/deduplicate in (guix store deduplication): ;;; no code for module (gcrypt hash) Backtrace: 17 (primitive-load "/gnu/store/k6dm80bpy4p8w4255n6c84vp01j?") In ice-9/eval.scm: 619:8 16 (_ #f) In srfi/srfi-1.scm: 460:18 15 (fold # ?) 460:18 14 (fold # ?) 460:18 13 (fold # ?) In ice-9/eval.scm: 619:8 12 (_ #(#(#) # ?)) In ice-9/boot-9.scm: 2806:4 11 (save-module-excursion #) In unknown file: 10 (primitive-load "./guix/store/deduplication.scm") In ice-9/eval.scm: 721:20 9 (primitive-eval (define-module (guix store #) # (# #) ?)) In ice-9/psyntax.scm: 1241:36 8 (expand-top-sequence ((define-module (guix store #) ?)) ?) 1233:19 7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) 285:10 6 (parse _ (("placeholder" placeholder)) (()) _ c (eval) ?) In ice-9/eval.scm: 293:34 5 (_ #) In ice-9/boot-9.scm: 3380:4 4 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?) 2565:24 3 (call-with-deferred-observers #
Re: Racket (require gregor)
Thank you Tobias, it worked! I ended up modifying below section as shown: ~/.racket/7.9/pkgs/tzinfo/tzinfo/private$ nvim zoneinfo.rkt (define default-zoneinfo-search-path (list (path->string (build-path (string-replace (with-output-to-string (lambda () (system "guix build tzdata"))) "\n" "" ) "share" "zoneinfo")) "/usr/share/zoneinfo" "/usr/share/lib/zoneinfo" "/etc/zoneinfo")) But surely this is not the way to do it in Guix... I wonder if there is a proper Guix integration for Racket's raco package manager? -Yasu On Fri, 2020-12-11 at 15:24 +0100, Tobias Geerinckx-Rice wrote: > Hi Yasu, > > Yasuaki Kudo 写道: > > Damn HTML doesn't work > > Yes. Please don't send HTML e-mail to mailing lists: most people > don't like receiving it (e.g., sending me HTML mail is guaranteed > to land you in my Spam bin) & you never know how your mail will > appear to others. > > > (Resending, my html email keeps failing... Is this mailing list > > automatically converting HTML messages to Plain Text or > > something??) > > Yes. We have enabled both ‘convert text/html parts to plain text’ > and ‘collapse multipart/alternative to its first part content’. > > > If there are users of > > Racket..., would you please try the same and see if it works for > > you? > > I get the same error, with the tzdata Racket (and Guix, just in > case) package install. > > If I manually add $(guix build tzdata)/share/zoneinfo to > pkgs/tzinfo/tzinfo/private/zoneinfo.rkt's > default-zoneinfo-search-path, it works. > > However, I didn't notice a $TZDIR-like mechanism to do so > ‘properly’. > > Kind regards, > > T G-R
Re: Racket (require gregor)
(Resending, my html email keeps failing... Is this mailing list automatically converting HTML messages to Plain Text or something??) Hi! I am tring to use the gregor package using my Racket program: #lang racket(require gregor) But it fails with fthe ollowing error: Unable to locate the zoneinfo database on this computer. We searched for it in the following places: - /usr/share/zoneinfo - /usr/share/lib/zoneinfo - /etc/zoneinfo There is a suggestion at: https://lists.gnu.org/archive/html/help-guix/2018-08/msg00073.html of installing tzdata. After installig it with: raco pkg install tzdata, It did not help (I still get exact same error). If there are users of Racket..., would you please try the same and see if it works for you? Cheers, Yasu
Racket (require gregor)
Hi! I am tring to use the gregor package using my Racket program: #lang racket(require gregor) But it fails with fthe ollowing error: Unable to locate the zoneinfo database on this computer. We searched for it in the following places: - /usr/share/zoneinfo - /usr/share/lib/zoneinfo - /etc/zoneinfo There is a suggestion at: https://lists.gnu.org/archive/html/help-guix/2018-08/msg00073.html of installing tzdata After installig it with: raco pkg install tzdata, It did not help (I still get exact same error). If there are users of Racket..., would you please try the same and see if it works for you? Cheers, Yasu
Eternal Terminal Server?
Hi, I would like to use EternalTerminal to connect to my Guix desktop PC from my laptop while I am train. It seems there are 2 packages in Guix (se below). I don't know what the difference is. Importantly though, it seems to me these packages are only for clients and not for servers. I need to configure the Eternal Terminal server on my Guix desktop PC. What do I do? (define-public eternalterminal (package(name "eternalterminal")(version "6.0.7")(source (origin(method git-fetch)(uri (git-reference (url " https://github.com/MisterTea/EternalTerminal;) (commit (string-append "et-v" version... (define-public et (package(name "et")(version "3.1.0")(source (origin (method git-fetch) (uri (git-reference (url " https://github.com/MisterTea/EternalTCP;) (commit (string- append "et-v" version (file-name (git-file-name name version)) (sha256(base32 "1m5caxckn2ihwp9s2pbyh5amxlpwr7yc54q8s0kb10fr52w2vfnm"... Cheers, Yasu
Guix Bluetooth Headset
Hi, Does anyone use Bluetooth Headset (say Bose NC 700) with Guix? Please post the required configuration! :-) Cheers, Yasu
Re: Please recommend zero-hassle video card for GUIX
Just one more note: In GNU IceCat browser, in about:config, this option needs to be enabled: layers.acceleration.force-enabled See: https://forums.linuxmint.com/viewtopic.php?t=239077 Otherwise, there will be a subtle but noticeable tearing of videos. On 24.09.2020 12:34, y...@yasuaki.com wrote: Just to follow up, here's what I did: - Removed my original NVidia GTX 750 video card - Installed the new AMD RX580 video card - Added an unofficial Guix channel to use the "regular" Linux Kernel (instead of Linux-Libre) My new Guix experience is now a world apart from the old! - It does't freeze like every 30 minutes anymore... - It works like any other normal computer! (Great 2D/3D/video performance!) Cheers, Yasu yasu@guix ~$ guix system describe Generation 16 Sep 24 2020 20:27:04(current) file name: /var/guix/profiles/system-16-link canonical file name: /gnu/store/9crwhnhyc6nwspd9j4m09sk1bb6r93j3-system label: GNU with Linux 5.8.10 bootloader: grub-efi root device: label: "my-root" kernel: /gnu/store/2z8smc1cn921gxqhb7m11byk6h3asf1k-linux-5.8.10/bzImage channels: guix: repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: ff128dc6332fddfc65658a8462796fc7ecd1bdd2 nonguix: repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: fc683132b1838cfdbe968b49e459dc12f4f41ef8 configuration file: /gnu/store/9f1vi852r032wd38hchm5g2sywxzfkj1-configuration.scm yasu@guix ~$ cat /gnu/store/9f1vi852r032wd38hchm5g2sywxzfkj1-configuration.scm ;; This is an operating system configuration template ;; for a "desktop" setup with GNOME and Xfce where the ;; root partition is encrypted with LUKS. (use-modules (gnu) (gnu system nss) (nongnu packages linux) ;; engine power (nongnu system linux-initrd)) ;; engine power (use-service-modules desktop xorg) (use-package-modules certs gnome) (operating-system (kernel linux) ;; engine power (initrd microcode-initrd) ;; engine power (firmware (list linux-firmware)) ;; engine power (host-name "guix") (timezone "Asia/Tokyo") (locale "en_US.utf8") ;; Choose US English keyboard layout. The "altgr-intl" ;; variant provides dead keys for accented characters. (keyboard-layout (keyboard-layout "us")) ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) ;; Specify a mapped device for the encrypted root partition. ;; The UUID is that returned by 'cryptsetup luksUUID'. ;; (mapped-devices ;; (list (mapped-device ;;(source (uuid "12345678-1234-1234-1234-123456789abc")) ;;(target "my-root") ;;(type luks-device-mapping (file-systems (append (list (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4") ;; (dependencies mapped-devices) ) (file-system (device (uuid "C2D0-0B91" 'fat)) (mount-point "/boot/efi") (type "vfat"))) %base-file-systems)) (users (cons (user-account (name "yasu") (comment "yasu") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (append (list ;; for HTTPS access nss-certs ;; for user mounts gvfs) %base-packages)) ;; Add GNOME and Xfce---we can choose at the log-in screen ;; by clicking the gear. Use the "desktop" services, which ;; include the X11 log-in service, networking with ;; NetworkManager, and more. (services (append (list ;; (service gnome-desktop-service-type) (service gnome-desktop-service-type) ;; (bluetooth-service) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout %desktop-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) root@guix ~# glxinfo | egrep -i 'device|memory' Device: Radeon RX 580 Series (POLARIS10,
Re: Please recommend zero-hassle video card for GUIX
Just to follow up, here's what I did: - Removed my original NVidia GTX 750 video card - Installed the new AMD RX580 video card - Added an unofficial Guix channel to use the "regular" Linux Kernel (instead of Linux-Libre) My new Guix experience is now a world apart from the old! - It does't freeze like every 30 minutes anymore... - It works like any other normal computer! (Great 2D/3D/video performance!) Cheers, Yasu yasu@guix ~$ guix system describe Generation 16 Sep 24 2020 20:27:04(current) file name: /var/guix/profiles/system-16-link canonical file name: /gnu/store/9crwhnhyc6nwspd9j4m09sk1bb6r93j3-system label: GNU with Linux 5.8.10 bootloader: grub-efi root device: label: "my-root" kernel: /gnu/store/2z8smc1cn921gxqhb7m11byk6h3asf1k-linux-5.8.10/bzImage channels: guix: repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: ff128dc6332fddfc65658a8462796fc7ecd1bdd2 nonguix: repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: fc683132b1838cfdbe968b49e459dc12f4f41ef8 configuration file: /gnu/store/9f1vi852r032wd38hchm5g2sywxzfkj1-configuration.scm yasu@guix ~$ cat /gnu/store/9f1vi852r032wd38hchm5g2sywxzfkj1-configuration.scm ;; This is an operating system configuration template ;; for a "desktop" setup with GNOME and Xfce where the ;; root partition is encrypted with LUKS. (use-modules (gnu) (gnu system nss) (nongnu packages linux) ;; engine power (nongnu system linux-initrd)) ;; engine power (use-service-modules desktop xorg) (use-package-modules certs gnome) (operating-system (kernel linux) ;; engine power (initrd microcode-initrd) ;; engine power (firmware (list linux-firmware)) ;; engine power (host-name "guix") (timezone "Asia/Tokyo") (locale "en_US.utf8") ;; Choose US English keyboard layout. The "altgr-intl" ;; variant provides dead keys for accented characters. (keyboard-layout (keyboard-layout "us")) ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) ;; Specify a mapped device for the encrypted root partition. ;; The UUID is that returned by 'cryptsetup luksUUID'. ;; (mapped-devices ;; (list (mapped-device ;;(source (uuid "12345678-1234-1234-1234-123456789abc")) ;;(target "my-root") ;;(type luks-device-mapping (file-systems (append (list (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4") ;; (dependencies mapped-devices) ) (file-system (device (uuid "C2D0-0B91" 'fat)) (mount-point "/boot/efi") (type "vfat"))) %base-file-systems)) (users (cons (user-account (name "yasu") (comment "yasu") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (append (list ;; for HTTPS access nss-certs ;; for user mounts gvfs) %base-packages)) ;; Add GNOME and Xfce---we can choose at the log-in screen ;; by clicking the gear. Use the "desktop" services, which ;; include the X11 log-in service, networking with ;; NetworkManager, and more. (services (append (list ;; (service gnome-desktop-service-type) (service gnome-desktop-service-type) ;; (bluetooth-service) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout %desktop-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) root@guix ~# glxinfo | egrep -i 'device|memory' Device: Radeon RX 580 Series (POLARIS10, DRM 3.38.0, 5.8.10, LLVM 10.0.0) (0x67df) Video memory: 8192MB https://www.amazon.co.jp/SAPPHIRE-RADEON-%E3%82%B0%E3%83%A9%E3%83%95%E3%82%A3%E3%83%83%E3%82%AF%E3%82%B9%E3%83%9C%E3%83%BC%E3%83%89-VD6907-SA-RX580-8GD5PL002/dp/B07PCCS63W/ref=sr_1_3?__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A=1=amd+58
Re: How do I install neovim plugins?
Hi Julien, Thank you for the pointer, here is what I did to make it work: set runtimepath+=/home/yasu/.guix-profile/share/vim/vimfiles The plugin and neovim were installed as below: guix package --install=vim-airline guix package --install=nvim But this seems rather "imperative" and is not what I expected to do, after spending many weeks trying home-manager from NixOS :-) excerpt from .config/nixpkgs/home.nix ... programs.neovim = { enable = true; plugins = [ pkgs.vimPlugins.vim-airline pkgs.vimPlugins.vim-nix ]; ... In the Nix world, I think people were not seeing much point of: nix-env -i which seems to be their equivalent of: guix package --install= As an alternative, 'home-manger' seemed popular. Would you say the same for Guix as well? -Yasu On 19.09.2020 23:40, Julien Lepiller wrote: If you install plugins in your profile, you can add: set runpath+=/home/user/.guix-profile/share/nvim/site In your .config/nvem/init.vim I also have a guix-home-manager at https://framagit.org/tyreunom/guix-home-manager but it's more involved. Le 19 septembre 2020 10:04:45 GMT-04:00, Yasuaki Kudo a écrit : I see some vim plugin packages for guix but I have no idea how I enable them in the neovim (nvim) that I installed in Guix. In NixOS I just used "home manager" and modified some existing template I found to add more plugins.