No description
- Nix 98%
- PLpgSQL 2%
| docs | ||
| lib | ||
| modules | ||
| secrets | ||
| .gitattributes | ||
| .gitignore | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| todo.txt | ||
My nixos config
My nixos config for all of my machines.
Configs for concrete hosts placed at ./modules/hosts/
Configs for my servers placed at ./modules/remote-servers/
How to setup desktop on not NixOS linux
For correctly work on niri compositor you need to make following changes in your system by hand:
-
Change
/etc/environmentin order to preserve PATH env:PATH=...:...:...->PATH=$PATH:...:...:... -
Check niri binary in store:
ls -l $(which niri) -
Add to
$HOME/.config/environment.d/file15-path.confwith output of following content:PATH=/home/<username>/.nix-profile/bin:$PATH" -
Add niri.service and niri-shutdown.target to
/etc/systemd/user/folder- niri.service:
[Unit] Description=A scrollable-tiling Wayland compositor BindsTo=graphical-session.target Before=graphical-session.target Wants=graphical-session-pre.target After=graphical-session-pre.target Wants=xdg-desktop-autostart.target Before=xdg-desktop-autostart.target [Service] Slice=session.slice Type=notify ExecStart=/usr/bin/nixGL /usr/bin/niri --session- niri-shutdown.target:
[Unit] Description=Shutdown running niri session DefaultDependencies=no StopWhenUnneeded=true Conflicts=graphical-session.target graphical-session-pre.target After=graphical-session.target graphical-session-pre.target -
Add links to nixGL and niri and niri-session from
/nix/store/to/usr/bin/ -
Add wayland-session to
/usr/local/share/wayland-sessions/niri.desktop:
[Desktop Entry]
Name=Niri
Comment=A scrollable-tiling Wayland compositor
Exec=/usr/bin/niri-session
Type=Application
DesktopNames=niri
TODO
- Important! Standartize nixos/homeManager/systemManager configurations and module collect way
- Important! Standartize remote-servers configurations
- Declare dashboard config for prometheus node exporter
- Add xray server service
- Add encrypted xray server fallback pages