🎛️ | Ready to use abstractions for project usages [maintainer=@bahrom04]
Find a file
Uzinfocom Asssistant 9e3de95c5c
All checks were successful
Build packages / Build (push) Successful in 31s
Test CI / Test flake options (push) Successful in 1m43s
flake.lock: Update
Flake lock file updates:

• Updated input 'cachyos-kernel':
    'git+https://git.oss.uzinfocom.uz/mirrors/nix-cachyos-kernel?ref=master&rev=31136bbf43568ffe77419b4b16cd140dd1f2e763&shallow=1' (2026-05-28)
  → 'git+https://git.oss.uzinfocom.uz/mirrors/nix-cachyos-kernel?ref=master&rev=28cc45a2fd0f773468c827a497d77065ee6b69d9&shallow=1' (2026-05-29)
• Updated input 'cachyos-kernel/cachyos-kernel':
    'github:CachyOS/linux-cachyos/c7cb822e8ee91d993052becf2661b6f26f98eaa2?narHash=sha256-02SR7VL4wc57NCVMhyVgz6/SVfyGv7mc4h%2BSmgR2I8g%3D' (2026-05-26)
  → 'github:CachyOS/linux-cachyos/1d38a1c83db0cddff4963516eb3f6838981cb6ae?narHash=sha256-FS/SbuYuRt5biCp1ja0Se12V2q3Y3p%2BO%2BrAdFQvuJT4%3D' (2026-05-28)
• Updated input 'cachyos-kernel/cachyos-kernel-patches':
    'github:CachyOS/kernel-patches/668b466fb461409329425b50c4a9d8d2c022a739?narHash=sha256-/cGZZCyJZS1QATHi%2B/2Q32NkjrYN2N2PpgFP8Ak4FJc%3D' (2026-05-24)
  → 'github:CachyOS/kernel-patches/b87558b7c865628c48c1d6ff5c827b9df40e9281?narHash=sha256-DcA59mHfCUfbr7EtH9YJUb3t62TcyXwC/I0QMyUs1bo%3D' (2026-05-28)
• Updated input 'cachyos-kernel/nixpkgs':
    'github:NixOS/nixpkgs/a09ffe51cfdc37950f14286593605ce64f76cc93?narHash=sha256-2PixoQSj9hdtoXTu0ZxdI0cmAE6GUUjCODG%2BrtC1wDc%3D' (2026-05-27)
  → 'github:NixOS/nixpkgs/a2c6938835fca96e4a10c8561d461efd2f91d04f?narHash=sha256-31mhzm2HpzRr/rupWAFfWBmt9SUjzwr5%2Bgiv5Nmb/rA%3D' (2026-05-28)
2026-05-29 18:01:50 +00:00
.forgejo chore: update every hour 2026-05-27 19:04:44 +05:00
checks chore: make colors and starship optional 2026-05-25 21:08:43 +05:00
modules/nixos chore: update wallpaper list 2026-05-29 19:40:13 +05:00
overlays chore: add shipped overlay for graphical 2026-05-29 05:24:30 +05:00
shells/modules chore: clear unused imports in shell.nix 2026-03-30 18:22:35 +05:00
.envrc [create-pull-request] automated change 2026-01-23 06:20:28 +00:00
.gitignore chore: removing developer from ignore 2026-05-12 17:57:16 +05:00
flake.lock flake.lock: Update 2026-05-29 18:01:50 +00:00
flake.nix chore: use mirrored zen-browser and aagl 2026-05-29 00:37:05 +05:00
LICENSE [create-pull-request] automated change 2026-01-23 06:20:28 +00:00
README.md doc: how to install 2026-05-26 20:10:36 +05:00

Xinux modules

Features

How to install?

Add flake.nix input

inputs = {
  xinux-modules = {
    url = "git+https://git.oss.uzinfocom.uz/xinux/modules?ref=main&shallow=1";
  };
  nix-data = {
    url = "git+https://git.oss.uzinfocom.uz/xinux/nix-data?ref=main&shallow=1";
    inputs.nixpkgs.follows = "nixpkgs";
  };
};

Add options into configuration.nix manually

{inputs, ...} {
imports = [
  inputs.self.nix-data.nixosModules.nix-data
  inputs.self.xinux-modules.nixosModules.efiboot # or biosboot
  inputs.self.xinux-modules.nixosModules.branding
  inputs.self.xinux-modules.nixosModules.gnome
  inputs.self.xinux-modules.nixosModules.developer
  inputs.self.xinux-modules.nixosModules.kernel
  inputs.self.xinux-modules.nixosModules.graphical
  inputs.self.xinux-modules.nixosModules.shell
  inputs.self.xinux-modules.nixosModules.gaming
  inputs.self.xinux-modules.nixosModules.networking
  inputs.self.xinux-modules.nixosModules.packagemanagers
  inputs.self.xinux-modules.nixosModules.pipewire
  inputs.self.xinux-modules.nixosModules.printing
  inputs.self.xinux-modules.nixosModules.metadata
  inputs.self.xinux-modules.nixosModules.xinux
];
  # Documentation: https://snowfall.org/reference/lib/
  programs.nix-data = {
    enable = true;
    systemconfig = "/etc/nixos/systems/@ARCH@/@HOSTNAME@/default.nix";
    flake = "/etc/nixos/flake.nix";
    flakearg = "@HOSTNAME@";
  };
  # the rest of your config
}

if you want all options then instead import meta module

imports = [
  inputs.self.nix-data.nixosModules.nix-data
  inputs.self.xinux-modules.nixosModules.efiboot # or biosboot
  inputs.self.xinux-modules.nixosModules.meta
  inputs.self.xinux-modules.nixosModules.xinux
];

Thatʼs it, Happy sudo nixos-rebuild switch --flake .

Code formatter and checkers

nix fmt .
nix flake check --system x86_64-linux --show-trace
nix repl :lf .

# geting narHash
nix flake prefetch "github:xinux-org/modules"
# getting rev
git rev-parse main