| asset | fix: change bib.bib to yuunix.bib | |
| config | init: yuunix | |
| doc | doc: move issue and help from README.org to own org note files | |
| host/li | init: yuunix | |
| modules | init: yuunix | |
| overlays | init: yuunix | |
| packages | init: yuunix | |
| profile | init: yuunix | |
| templates | init: yuunix | |
| user | init: yuunix | |
| .gitignore | init: yuunix | |
| COPYING | init: yuunix | |
| flake.lock | init: yuunix | |
| flake.nix | init: yuunix | |
| LICENSE.org | init: yuunix | |
| README.org | doc: move issue and help from README.org to own org note files | |
| shell.nix | init: yuunix | |
Yuunix: Yuu's NixOS configuration
Table of contents
WARNING
This repository has disorder because of organic growth. Needs more refactoring (I am doing that based mainly on misterio/nix-config).
Description
Yuunix, Yuu's Nix (NixOS, home-manager) setups.
Features
- flake
- home-manager
- BTRFS
-
system encryption
[2/3]- LUKS
- dm-crypt
- bootloader encryption
-
secret
[0/1]- sops-nix
-
GUI
[1/2]-
X
- Xmonad
-
Wayland
- Sway
-
Yuu, Unix, and Nix
Yuu's first contact with a Unix system was probably a GNU/Linux in junior school's computer labs. Later in circa 2014, Yuu began using lightweight GNU/Linux distributions on a mobo netbook, mainly Lubuntu. Then Yuu went through many GNU/Linux systems (mainly Debian and Arch Linux-based), until sticking with Arch Linux for a year and half. At that point, Yuu needed more powerful, coherent, holistic ways to configure a GNU/Linux distribution, that was when (late 2020) Yuu found and began migrating to NixOS, and has been using NixOS as main operating system since June 2021.
Yuu's contributions to the Nix ecosystem
Directory structure
Yuunix takes inspiration from Digga/DevOS's directory structure and concepts (well, still need to refactor this repository).
flake.nix
modules/
Nix modules by Yuu. Abstract configurations that, while holding the implementation, do not set any system state.
profile/
Definition/Setting of options in contrast to their declaration. Concrete configurations that set the system state within the profile domain.
packages/
Nix derivation definitions by Yuu.
You can manually built one (see packages/default.nix for which ones) by:
nix build --print-build-logs "/etc/nixos#package-name"
overlays/
Overlays/overrides to derivations from other flake inputs.
host/
host/<name>/default.nix
host/<name>/hardware-configuration.nix
TODO
common.nix of common configurations to share between hosts
bin/
Yuu's scripts to add to PATH.
config/
Software configurations to link to XDG_CONFIG_HOME and HOME.
asset/
Miscellaneous, asset files for attachment.
Notable NixOS setups
User configurations
- misterio/nix-config: simple, nice, and tidy, main implementation inspiration
- foo-dogsquared/nixos-config: nice, but increasingly complex, making things unmaintainable
- divnix/digga/examples/devos: complex, well structured, main structural inspiration
- bqv/rc
- Icy-Thought/Snowflake: complex
- hlissner/dotfiles: complex
- lovesegfault/nix-config
- K900/nix: K900 is a nice person
- davidak/nixos-config: davidak also nice person
- reckenrode/nixos-configs
- samueldr/nixos-configuration
Community and contact
- Yuu Yin OpenPGP and ID proofs: openpgp4fpr:9f193ae8aa25647ffc3146b5416f303b43c20ac3
- Chat: @yuu:matrix.org
- E-mail: mailto:yuu@anche.no
- Repository: codeberg/yuuyin/yuunix
License
Yuu Yin licenses yuunix under the terms of the GNU Affero General Public License, Version 3 or Later.
Copyright (C) 2022--2023 Yuu Yin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Third-party licenses
See LICENSE.org for all licenses including third-party licenses.