GithubHelp home page GithubHelp logo

guix-config's Introduction

About

This repository contains my system configuration, packages, services and other related stuff for GNU Guix. The Guile code that can be found here relies on some of my guile modules.

Files and directories

  • modules: This directory contains all guile modules with my additional packages, services and utilities for Guix. I add this directory to GUILE_LOAD_PATH environment variable.
  • guix-package-path: This directory was made specifically for GUIX_PACKAGE_PATH environment variable. It contains al/guix/packages symlink which points to my package directory. Thus, it contains my packages (and only the packages) placed in a proper hierarchy. I did not set GUIX_PACKAGE_PATH to the directory with all my guile modules as Guix would traverse all those modules and all variables inside to find the packages, which is long and may find unwanted things.

    Also this directory is specified in .guix-channel file, so this repository can be used as a Guix channel. I.e., a channel like the following may be added to ~/.config/guix/channels.scm file.

    (channel
      (name 'alezost-channel)
      (url "https://gitlab.com/alezost-config/guix.git"))
        
  • system-config: Directory with system configuration files (for guix system commands). My main config is placed in os-main.scm file.
  • user-config: Directory with manifest files I use to populate my Guix profiles with guix package --profile=… --manifest=… shell command (actually, with my profile script).
  • misc: Miscellaneous stuff related to Guix.

guix-config's People

Contributors

alezost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

guix-config's Issues

Module importing does not work with `guix reconfigure`

I'm new to GuixSD (coming from NixOS) and I was looking at your repo for inspiration. However I cannot figure out how to write modules.

When I try to build your main configuration it can, apparently, find the module but not the variable declared inside. (This is after I remove the missing modules for (al places), (al files) and (al utils).)

$ guix system build system-config/os-main.scm --dry-run
error: my-package: unbound variable
hint: Did you forget `(use-modules (al guix utils))'?

(use-modules (al guix utils)) is clearly used in system-config/os-main.scm so where does the error come from?

I had expanded my env using export GUILE_LOAD_PATH=$(pwd/modules):$GUILE_LOAD_PATH

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.