All Projects → EdenEast → nyx

EdenEast / nyx

Licence: Unlicense license
⚙️Nix[OS] Configuration

Programming Languages

lua
6591 projects
shell
77523 projects
Nix
1067 projects
powershell
5483 projects
clojure
4091 projects
Makefile
30231 projects

Projects that are alternatives of or similar to nyx

dotfiles
Dotfiles
Stars: ✭ 25 (-50%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake
nix-config
A collection of my system configs and dotfiles
Stars: ✭ 35 (-30%)
Mutual labels:  nix, nixos, home-manager, nix-flake
dotnix
nix stuff
Stars: ✭ 27 (-46%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake
nixdots
I have no idea what the hell I'm doing
Stars: ✭ 46 (-8%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake
base16.nix
Quickly theme programs in your favourite base16 colorscheme
Stars: ✭ 61 (+22%)
Mutual labels:  nix, nixos, home-manager, nix-flake
system
Declarative NixOS system configuration for all my machines
Stars: ✭ 14 (-72%)
Mutual labels:  nix, nixos, nixos-configuration, home-manager
elemental
Elemental, the component parts of a Nix/OS development system.
Stars: ✭ 44 (-12%)
Mutual labels:  nix, nixos, nixos-configuration, home-manager
digga
A flake utility library to craft shell-, home-, and hosts- environments.
Stars: ✭ 818 (+1536%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake
dconf2nix
🐾 Convert Dconf files (e.g. Gnome Shell) to Nix, as expected by Home Manager
Stars: ✭ 51 (+2%)
Mutual labels:  nix, nixos, nixos-configuration, home-manager
nix-configs
My Nix{OS} configuration files
Stars: ✭ 54 (+8%)
Mutual labels:  nix, nixos, home-manager, nix-flake
deadnix
Scan Nix files for dead code
Stars: ✭ 121 (+142%)
Mutual labels:  nix, nixos, nix-flake
dotfiles
My personal dotfiles
Stars: ✭ 71 (+42%)
Mutual labels:  nix, home-manager, nix-flake
system
The system configuration of a professional yak shaver
Stars: ✭ 42 (-16%)
Mutual labels:  nix, nixos, nix-flake
dotfiles
pls help
Stars: ✭ 301 (+502%)
Mutual labels:  nixos, nixos-configuration, nix-flake
impermanence
Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
Stars: ✭ 401 (+702%)
Mutual labels:  nix, nixos, home-manager
nix-config
My personal nix config
Stars: ✭ 32 (-36%)
Mutual labels:  nix, nixos, nixos-configuration
nix-home
A Nix Home Manager setup. I've now moved to a new configuration system at hugoreeves/elemental
Stars: ✭ 60 (+20%)
Mutual labels:  nix, nixos, home-manager
dotfiles
🏠
Stars: ✭ 53 (+6%)
Mutual labels:  nix, nixos, nix-flake
nix-rice
A library to functionally define your configuration and theme (rice) with Nix
Stars: ✭ 43 (-14%)
Mutual labels:  nix, nixos, home-manager
nix-xdg
[WIP] Nix overlay for making programs xdg compliant
Stars: ✭ 18 (-64%)
Mutual labels:  nix, nixos, home-manager

Nyx

Build NixOS 21.05 Licence

This repository contains configuration for all my unix systems (NixOS, Linux and MacOS) written in nix. This repository also contains my dotfiles which are used on all the systems liked above as well as windows. On systems that support nix my dotfiles are managed by home-manager.

Structure

  • bin/ - Contains scripts that will be added to the $PATH variable
    • windows/ - Scripts that are user to setup my windows machines
  • config/ - Contains .dotfiles for various applications. You can think of this as my $HOME directory
  • home/ - Configuration for my user. This is where home-manager configurations lives
    • hosts/ - The definition of a home user. If same name as a nixos/hosts will be used by it
    • modules/ - A defined set of home modules that can be enabled in a home/host
    • profiles/ - A collection of module configurations grouped together to be used by a home/host
    • secrets/ - A folder of secrets used by the user
  • lib/ - List of helper functions
  • nix/ - Nix package manager configurations
    • isos - Nix configuration that builds iso as output
    • overlays/ - Nix overlays
    • pkgs/ - Self packaged applications
  • system - Machine configuration for both nixos and macos
    • common - Configuration that is common between nixos and macos
      • modules - Common modules between the two operating systems
      • profiles - Common profiles between the two operating systems
    • darwin - MacOS machine configuration
      • hosts/ - The definition of a MacOS machine
      • modules/ - MacOS modules
      • profiles/ - A collection of module configurations
      • secrets/ - Secrets used for a machine host
    • nixos - Nixos machine configuration
      • hosts/ - The definition of a nixos machine
      • modules/ - Nixos modules
      • profiles/ - A collection of module configurations
      • secrets/ - Secrets used for a machine host
  • user - Configuration values linked to a specific user

Dotfiles

My .dotfiles can be found under config/. On systems managed by nix and this flake repository they are managed by home-manager. I home-manager to use the config/ folder as the source for my configurations. This helps when I am on a machine that is not managed by nix (cough windows cough). On these machines I symlink the files in the config/ folder into their respective locations. Some configurations of note:

Hosts

Configuration Type Description
sloth System An old lenovo T530 Laptop
eden Home Generic home config for non nixos machines (wsl)
pride System Asus UX331U notebook laptop

Ci/Cd

I have github action workflows setup to continuously build my configurations and deploy the results to a binary cache server (cachix). Every week I have a workflow that creates a pull request with an updated flake lock file. The pr action will diff the changing packages between the current and updated lockfile changes. It will then also run a security issues with vulnix. A report is generated in the pr and I can accept the changes.

Resources

Manuals

  • Nix - The expression language and package manager
  • Nixpkgs - The repository of packages
  • NixOS - The operating system built on top of nix
  • Home Manager - Manage user environments

Learning

  • Awesome Nix - A curated list of the best resources in the Nix community.
  • Learn - Home page for learning the nix eco-system
  • NixOS Wiki - Community maintained wiki
  • Nix Pills - A learn nix by example understanding how it works step by step
  • nix.dev - An opinionated guide for developers getting things done using the Nix ecosystem

Flakes

I agree with @hlissner. This is needed when nix drives you to drink.

References

TODO:

  • Create wsl options, check this commit
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].