13 Commits

Author SHA1 Message Date
chexit 6755d28c8f migrate from github to gitea
Check NixOS Config / build (push) Failing after 21s
2026-05-21 11:48:53 +03:00
chexit 0db7fd1251 remove mounting of wd blue 2026-05-19 10:02:52 +03:00
chexit 6467343c6b add rustrover 2026-05-18 20:59:05 +03:00
chexit b4d47ee6b8 feat: add zed-editor and gpu-screen-recorder-gtk to packages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 15:56:00 +03:00
chexit c6b8d087ac feat: extract gaming config into dedicated gaming.nix module
Moves steam, gamemode, DualSense udev rules, and gaming packages
(lutris, winetricks, wine, dxvk, vkd3d-proton, mangohud, dualsensectl,
protonup-qt, prismlauncher) into gaming.nix. Also adds bluetooth/blueman
config to configuration.nix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 15:55:58 +03:00
chexit 8e1a3352d6 feat: install codex-cli globally via systemPackages
https://claude.ai/code/session_01WbhyZRRuzioZn7F3NTuntf
2026-04-28 01:00:01 +03:00
chexit fb40a985d8 flake.lock 2026-04-28 00:57:45 +03:00
chexit f52f0e545f add gitignore 2026-04-28 00:56:54 +03:00
Claude 3fffe5c8c3 fix: merge codex-cli-nix into single valid flake
Two separate flake expressions were concatenated with a comma, causing
a syntax error. Merged them into one: added codex-cli-nix as an input
and devShells output alongside the existing nixosConfigurations.

https://claude.ai/code/session_01WbhyZRRuzioZn7F3NTuntf
2026-04-27 21:33:25 +00:00
chexit 59c86f5b21 Merge branch 'master' of https://github.com/Chexit/nix-config 2026-04-28 00:31:38 +03:00
Claude a3b35e3a12 Merge branch 'claude/add-niri-config-XJjm4'
Add niri compositor with full desktop stack (bar, launcher, notifications, configs).

https://claude.ai/code/session_01WbhyZRRuzioZn7F3NTuntf
2026-04-27 21:29:29 +00:00
Claude e2049748bb feat: add helium browser via schembriaiden/helium-browser-nix-flake
https://claude.ai/code/session_01WbhyZRRuzioZn7F3NTuntf
2026-04-27 21:28:00 +00:00
chexit b5247c7dc4 add codex 2026-04-23 22:41:00 +03:00
7 changed files with 212 additions and 31 deletions
@@ -3,7 +3,7 @@ name: Check NixOS Config
on:
pull_request:
push:
branches: [main]
branches: [master]
workflow_dispatch:
jobs:
+1
View File
@@ -0,0 +1 @@
flake.lock
+12 -12
View File
@@ -9,6 +9,7 @@
./nvidia.nix
./shell.nix
./yami-dev-stack.nix
./gaming.nix
];
nix = {
@@ -46,11 +47,11 @@
fsType = "ext4";
options = [ "nosuid" "nodev" "nofail" ];
};
"/mnt/wd_blue" = {
device = "/dev/disk/by-uuid/91feabaf-ea5f-490e-9925-56f7c05e7110";
fsType = "ext4";
options = [ "nosuid" "nodev" "nofail" ];
};
#"/mnt/wd_blue" = {
# device = "/dev/disk/by-uuid/91feabaf-ea5f-490e-9925-56f7c05e7110";
# fsType = "ext4";
# options = [ "nosuid" "nodev" "nofail" ];
#};
};
networking = {
@@ -58,6 +59,12 @@
networkmanager.enable = true;
};
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
time.timeZone = "Europe/Moscow";
i18n = {
@@ -93,13 +100,6 @@
tunMode.enable = true;
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
programs.gamemode.enable = true;
services.tailscale.enable = true;
# Docker is now managed by yami-dev-stack.nix when that module is enabled.
Generated
+125 -1
View File
@@ -1,5 +1,63 @@
{
"nodes": {
"codex-cli-nix": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1777054843,
"narHash": "sha256-aiuiKK6xJu5inj/RTmSl9S3jDC6RzNsKfNJ700MRPNY=",
"owner": "sadjow",
"repo": "codex-cli-nix",
"rev": "fc382bef14dcb9873769bdcb4d3b943ef2606489",
"type": "github"
},
"original": {
"owner": "sadjow",
"repo": "codex-cli-nix",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"helium-browser": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"utils": "utils"
},
"locked": {
"lastModified": 1777187169,
"narHash": "sha256-D5su73XFSyZgrYjLwTFYUpLWJhAxi0M/k/7nPABCa4g=",
"owner": "schembriaiden",
"repo": "helium-browser-nix-flake",
"rev": "c786dc23029c5a6651b9131f8d6548fd31d6b99f",
"type": "github"
},
"original": {
"owner": "schembriaiden",
"repo": "helium-browser-nix-flake",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -21,6 +79,22 @@
}
},
"nixpkgs": {
"locked": {
"lastModified": 1776949667,
"narHash": "sha256-GMSVw35Q+294GlrTUKlx087E31z7KurReQ1YHSKp5iw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "01fbdeef22b76df85ea168fbfe1bfd9e63681b30",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1776169885,
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
@@ -38,8 +112,58 @@
},
"root": {
"inputs": {
"codex-cli-nix": "codex-cli-nix",
"helium-browser": "helium-browser",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs_2"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
}
},
+22 -2
View File
@@ -7,11 +7,25 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
helium-browser = {
url = "github:schembriaiden/helium-browser-nix-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
codex-cli-nix.url = "github:sadjow/codex-cli-nix";
};
outputs = { nixpkgs, home-manager, ... }: {
nixosConfigurations.chexit = nixpkgs.lib.nixosSystem {
outputs = { nixpkgs, home-manager, helium-browser, codex-cli-nix, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
nixosConfigurations.chexit = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
helium = helium-browser.packages.${system}.helium;
codex = codex-cli-nix.packages.${system}.default;
};
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
@@ -23,5 +37,11 @@
}
];
};
devShells.${system}.default = pkgs.mkShell {
buildInputs = [
codex-cli-nix.packages.${system}.default
];
};
};
}
+32
View File
@@ -0,0 +1,32 @@
{ pkgs, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
programs.gamemode.enable = true;
services.udev.extraRules = ''
# DualSense: тачпад не должен работать как мышь рабочего стола.
# Steam Input/SDL читают геймпад (включая тачпад) через hidraw,
# так что в играх он останется доступен как тачпад контроллера.
SUBSYSTEM=="input", ATTRS{name}=="Sony Interactive Entertainment DualSense Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1", ENV{ID_INPUT_MOUSE}="0", ENV{ID_INPUT_TOUCHPAD}="0"
SUBSYSTEM=="input", ATTRS{name}=="DualSense Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1", ENV{ID_INPUT_MOUSE}="0", ENV{ID_INPUT_TOUCHPAD}="0"
'';
environment.systemPackages = with pkgs; [
dualsensectl
protonup-qt
prismlauncher
lutris
winetricks
wineWow64Packages.stagingFull
dxvk
vkd3d-proton
mangohud
gamemode
];
}
+7 -3
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, helium, codex, ... }:
{
nixpkgs.config.allowUnfree = true;
@@ -15,6 +15,7 @@
kdePackages.kate
# soft
helium
firefox
vesktop
materialgram
@@ -26,12 +27,15 @@
# dev
vscode
zed-editor
docker-compose
codex
jetbrains.rust-rover
# gaming / media
# media / gpu utils
gpu-screen-recorder-gtk
libva-utils
vdpauinfo
lazydocker
mangohud
];
}