No description
  • Nix 98%
  • PLpgSQL 2%
Find a file
2026-11-01 23:43:47 +03:00
docs add account logo 2026-10-15 13:02:51 +03:00
lib fix admin modules pass 2026-10-06 20:59:01 +03:00
modules update umbriel + noctalia 2026-11-01 23:43:47 +03:00
secrets add webdav server and client parts 2026-10-25 02:31:16 +03:00
.gitattributes add account logo 2026-10-15 13:02:51 +03:00
.gitignore update .gitignore 2026-10-06 20:59:01 +03:00
.sops.yaml add webdav server and client parts 2026-10-25 02:31:16 +03:00
flake.lock update umbriel + noctalia 2026-11-01 23:43:47 +03:00
flake.nix fix umbriel screencasting 2026-10-25 21:52:13 +03:00
README.md update window rules 2026-10-15 23:02:45 +03:00
todo.txt set dms update to optional 2026-10-20 14:50:32 +03:00

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:

  1. Change /etc/environment in order to preserve PATH env: PATH=...:...:... -> PATH=$PATH:...:...:...

  2. Check niri binary in store: ls -l $(which niri)

  3. Add to $HOME/.config/environment.d/ file 15-path.conf with output of following content: PATH=/home/<username>/.nix-profile/bin:$PATH"

  4. Add niri.service and niri-shutdown.target to /etc/systemd/user/ folder

    1. 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
    
    1. 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
    
  5. Add links to nixGL and niri and niri-session from /nix/store/ to /usr/bin/

  6. 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