bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52808: Guix home should not assume that all targets are dot files


From: Nick Zalutskiy
Subject: bug#52808: Guix home should not assume that all targets are dot files
Date: Sun, 26 Dec 2021 12:17:27 -0500
User-agent: Cyrus-JMAP/3.5.0-alpha0-4525-g8883000b21-fm-20211221.001-g8883000b

The following configuration results in a `~/.run` symlink being created. My expectation is that a `~/run` symlink is created instead. (ie. not a dotfile)

(home-environment
  (services
    (list (service
            home-bash-service-type
            (home-bash-configuration
          (guix-defaults? #t)))
      (simple-service 'my-files
              home-files-service-type
              `(("run" ,(local-file "run")))))))

This applies to all other targets. My expectation is that the configuration should expect the exact target and not make an assumption that all targets are hidden files, since that allows for more utility:

(home-environment
  (services
    (list (service
            home-bash-service-type
            (home-bash-configuration
              (guix-defaults? #t)))
          (simple-service 'config-files
              home-files-service-type
              `(("run" ,(local-file "run"))
                ("README.txt" ,(local-file "README.txt"))
                (".config/guix/channels.scm" ,(local-file "config/guix
                (".emacs.d/init.el" ,(local-file "emacs.d/init.el"))
                (".vimrc" ,(local-file "vimrc"))
                (".gitconfig" ,(local-file "gitconfig")))))))

Thank you,

-Nick


reply via email to

[Prev in Thread] Current Thread [Next in Thread]