Skip to content

1eedaegon/...s

Repository files navigation

...s(3dots)

Nix CI NixOS Flakes License

Just build own dotfiles

Module preview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     User Commands                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
                            β–Ό
                   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                   β”‚   flake.nix     β”‚
                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό                   β–Ό                   β–Ό
    ╔══════════════════════════════════════════════╗
    β•‘           Module Loading & Composition       β•‘
    ╠═══════════════╦═══════════════╦══════════════╣
    β•‘ installations β•‘  executions   β•‘configurationsβ•‘
    ╠═══════════════╬═══════════════╬══════════════╣
    β•‘   Packages    β•‘   Shell Cmds  β•‘   Settings   β•‘
    β•‘               β•‘   Aliases     β•‘   Env Vars   β•‘
    β•‘   Programs    β•‘   Functions   β•‘   Configs    β•‘
    β•‘               β•‘               β•‘              β•‘
    β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•©β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•©β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

Install Nix

Install determinate systems nix

Use install-determinate-nix.sh

Or

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
  • Download nix tar file & Make temp dir
  • Make dir /nix
  • Move to /nix
  • Creating 32 build-user-group Build user group?
  • Creating default nix profile
  • Set flag experimental-feature to /etc/nix/nix.conf & Some others
  • Setting shell profile
  • Regist nix daemon to systemd
  • Clean temp dir

Make subshell

default

❯ nix develop github:1eedaegon/...s

language specific(e.g rust)

❯ nix develop github:1eedaegon/...s#rust

Global Settings using home-manager

> nix run github:1eedaegon/...s

Uninstall

  1. Clean devshells

❯ nix-collect-garbage

  1. Clean home-manager

❯ nix run home-manager -- uninstall

  1. Clean profile

> nix profie remove --all

  1. Search profile

❯ nix profile list

❯ nix profile list
Name:               git+file:///Users/leedaegon/workspace/...s#packages.aarch64-darwin.default
Flake attribute:    packages.aarch64-darwin.default
Original flake URL: git+file:///Users/leedaegon/workspace/...s
Locked flake URL:   git+file:///Users/leedaegon/workspace/...s
Store paths:        /nix/store/ggcd2k0fxjnyfc0qvc3s9bnqdyshz7rx-default
...
# And other profiles...
  1. Remove specific profile

❯ nix profile remove [NAME]

❯ nix profile remove git+file:///Users/leedaegon/workspace/...s#packages.aarch64-darwin.default

About

For deterministic envs 😺

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages