1
1
Fork
You've already forked yuunix
0
No description
Nix 73.1%
Haskell 13.9%
Nu 13%
2023年05月17日 16:09:34 +00:00
asset fix: change bib.bib to yuunix.bib 2023年05月17日 16:02:30 +00:00
config init: yuunix 2023年05月17日 12:56:00 -03:00
doc doc: move issue and help from README.org to own org note files 2023年05月17日 16:09:34 +00:00
host/li init: yuunix 2023年05月17日 12:56:00 -03:00
modules init: yuunix 2023年05月17日 12:56:00 -03:00
overlays init: yuunix 2023年05月17日 12:56:00 -03:00
packages init: yuunix 2023年05月17日 12:56:00 -03:00
profile init: yuunix 2023年05月17日 12:56:00 -03:00
templates init: yuunix 2023年05月17日 12:56:00 -03:00
user init: yuunix 2023年05月17日 12:56:00 -03:00
.gitignore init: yuunix 2023年05月17日 12:56:00 -03:00
COPYING init: yuunix 2023年05月17日 12:56:00 -03:00
flake.lock init: yuunix 2023年05月17日 12:56:00 -03:00
flake.nix init: yuunix 2023年05月17日 12:56:00 -03:00
LICENSE.org init: yuunix 2023年05月17日 12:56:00 -03:00
README.org doc: move issue and help from README.org to own org note files 2023年05月17日 16:09:34 +00:00
shell.nix init: yuunix 2023年05月17日 12:56:00 -03:00

Yuunix: Yuu's NixOS configuration

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.

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

Community and contact

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/>.
GNU Affero General Public License, Version 3 or Later.

Third-party licenses

See LICENSE.org for all licenses including third-party licenses.

References