Giter VIP home page Giter VIP logo

dotfiles's Introduction

My system configuration

Please let me know if you see anything dubious or that can be improved.

Basic setup

This is a flake-based system configuration for my NixOS devices, with system-wide settings being setup through NixOS modules and personal/user settings being configured through the NixOS home-manager module.

The basic structure is:

  • config are random configuration files that are used in nix modules
  • dev-shell has my default haskell setup
  • home-manager has the HM modules and device configurations
  • system has the NixOS modules and device configurations

Initial setup

You will probably want to pick one of my devices as an example:

  • thelxinoe is my desktop
  • janus and aiode are my laptops
  • fractal is my headless home server

For example, start in system/thelxinoe and look around, understand the modules and structure, etc.

Once that is done, you’ll probably want to rename it and such.

You’ll then want to go to flake.nix and rename thenxinoe to your new name and try switching to the new config:

sudo nixos-rebuild switch --flake .#newname

If you want to update the flake pins, you can run nix flake update.

Vim/emacs configs

Vim: config/nvim/lua/*.lua (*)

Emacs: config/init.el

(*) My init.lua file is generated by nix as a require to all files under that directory. See neovim.nix for details.

awesome wayland https://github.com/natpen/awesome-wayland

dotfiles's People

Contributors

eviefp avatar mvision-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotfiles's Issues

The option `NIX_PATH' does not exist. Definition values: - In `/root/nixfiles/shell.nix'

error:
… while evaluating the attribute 'activationPackage'

     at /nix/store/kbpv1xi7w9lkz70hsvf814mrvl1j3l1m-home-manager-23.05.tar.gz/home-manager/modules/default.nix:54:3:                  

       53|
       54|   activationPackage = module.config.home.activationPackage;
         |   ^
       55|

   … while evaluating a branch condition

     at /nix/store/hxr25bibs1d401q9s72z6q6gm1f035lf-nixpkgs/nixpkgs/lib/lists.nix:57:9:                                               

       56|       fold' = n:
       57|         if n == len
         |         ^
       58|         then nul

   (stack trace truncated; use '--show-trace' to show the full trace)                                                                 

   error: The option `NIX_PATH' does not exist. Definition values:
   - In `/root/nixfiles/shell.nix': "nixpkgs=/nix/store/r9cdsb6pi5i1826fm7p5vlykbfigmbq9-nixpkgs-src:home-manager=/root/clone/home-manager:nixos-config=/etc/nixos/configuration.nix"

Uh oh, the installation failed! Please create an issue at

https://github.com/nix-community/home-manager/issues

if the error seems to be the fault of Home Manager.

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.