14 Commits

Author SHA1 Message Date
chexit 909b8756e6 refactor: remove nvtop, update kernelPackages, and add nixpkgs overlay
Check NixOS Config / build (push) Failing after 7s
2026-05-31 22:52:33 +03:00
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 230 additions and 39 deletions
@@ -3,7 +3,7 @@ name: Check NixOS Config
on: on:
pull_request: pull_request:
push: push:
branches: [main] branches: [master]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
+1
View File
@@ -0,0 +1 @@
flake.lock
+24 -13
View File
@@ -9,6 +9,18 @@
./nvidia.nix ./nvidia.nix
./shell.nix ./shell.nix
./yami-dev-stack.nix ./yami-dev-stack.nix
./gaming.nix
];
nixpkgs.overlays = [
(final: prev: {
pkgsi686Linux = prev.pkgsi686Linux.extend (final': prev': {
openldap = prev'.openldap.overrideAttrs (_old: {
doCheck = false;
doInstallCheck = false;
});
});
})
]; ];
nix = { nix = {
@@ -22,7 +34,7 @@
}; };
boot = { boot = {
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages;
loader = { loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
systemd-boot.enable = false; systemd-boot.enable = false;
@@ -46,11 +58,11 @@
fsType = "ext4"; fsType = "ext4";
options = [ "nosuid" "nodev" "nofail" ]; options = [ "nosuid" "nodev" "nofail" ];
}; };
"/mnt/wd_blue" = { #"/mnt/wd_blue" = {
device = "/dev/disk/by-uuid/91feabaf-ea5f-490e-9925-56f7c05e7110"; # device = "/dev/disk/by-uuid/91feabaf-ea5f-490e-9925-56f7c05e7110";
fsType = "ext4"; # fsType = "ext4";
options = [ "nosuid" "nodev" "nofail" ]; # options = [ "nosuid" "nodev" "nofail" ];
}; #};
}; };
networking = { networking = {
@@ -58,6 +70,12 @@
networkmanager.enable = true; networkmanager.enable = true;
}; };
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
time.timeZone = "Europe/Moscow"; time.timeZone = "Europe/Moscow";
i18n = { i18n = {
@@ -93,13 +111,6 @@
tunMode.enable = true; tunMode.enable = true;
}; };
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
programs.gamemode.enable = true;
services.tailscale.enable = true; services.tailscale.enable = true;
# Docker is now managed by yami-dev-stack.nix when that module is enabled. # Docker is now managed by yami-dev-stack.nix when that module is enabled.
Generated
+131 -7
View File
@@ -1,5 +1,63 @@
{ {
"nodes": { "nodes": {
"codex-cli-nix": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1779385571,
"narHash": "sha256-qvJmkFUHLb0lWUHguEpcFh5sBUSSBzkjGimWkh7RMfQ=",
"owner": "sadjow",
"repo": "codex-cli-nix",
"rev": "1b8816f0f793031ee98c928ae7a3bcca2f0b54c0",
"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": 1779508010,
"narHash": "sha256-7Wcp38Saw8cnyfc1OyjsxiF0btKBaL5KcHV+q9ljsns=",
"owner": "schembriaiden",
"repo": "helium-browser-nix-flake",
"rev": "4e6b8bdd6692db7f2357e4dd86444914e53ec095",
"type": "github"
},
"original": {
"owner": "schembriaiden",
"repo": "helium-browser-nix-flake",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -7,11 +65,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1776454077, "lastModified": 1779507042,
"narHash": "sha256-7zSUFWsU0+jlD7WB3YAxQ84Z/iJurA5hKPm8EfEyGJk=", "narHash": "sha256-7wOwi8B6D0BYsieZCnHZZj2sNUzgJhLoIVSfkwB7lxQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "565e5349208fe7d0831ef959103c9bafbeac0681", "rev": "509ed3c603349a9d43de9e2ae6613baea6bd5b34",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -22,11 +80,27 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1776169885, "lastModified": 1779259093,
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=", "narHash": "sha256-7DKWmH23hL2eYdkxCKeqj2i+yljTKuU+3Nk1UPHOnxc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9", "rev": "d99b013d5d1931ad77fe3912ed218170dec5d9a4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1779508470,
"narHash": "sha256-Ap9KJX+5xHIn3bPIpfNgT6MEXdAECECwo4/rmlQD74M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "29916453413845e54a65b8a1cf996842300cd299",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -38,8 +112,58 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"codex-cli-nix": "codex-cli-nix",
"helium-browser": "helium-browser",
"home-manager": "home-manager", "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"
} }
} }
}, },
+33 -13
View File
@@ -7,21 +7,41 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; 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, ... }: { outputs = { nixpkgs, home-manager, helium-browser, codex-cli-nix, ... }:
nixosConfigurations.chexit = nixpkgs.lib.nixosSystem { let
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ pkgs = nixpkgs.legacyPackages.${system};
./configuration.nix in
home-manager.nixosModules.home-manager {
{ nixosConfigurations.chexit = nixpkgs.lib.nixosSystem {
home-manager.useGlobalPkgs = true; inherit system;
home-manager.useUserPackages = true; specialArgs = {
home-manager.backupFileExtension = "hm-bak"; helium = helium-browser.packages.${system}.helium;
home-manager.users.chexit = import ./home.nix; codex = codex-cli-nix.packages.${system}.default;
} };
]; modules = [
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "hm-bak";
home-manager.users.chexit = import ./home.nix;
}
];
};
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 -4
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, helium, codex, ... }:
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@@ -9,12 +9,12 @@
git git
htop htop
btop btop
nvtopPackages.nvidia
ntfs3g ntfs3g
kdePackages.qtstyleplugin-kvantum kdePackages.qtstyleplugin-kvantum
kdePackages.kate kdePackages.kate
# soft # soft
helium
firefox firefox
vesktop vesktop
materialgram materialgram
@@ -26,12 +26,15 @@
# dev # dev
vscode vscode
zed-editor
docker-compose docker-compose
codex
jetbrains.rust-rover
# gaming / media # media / gpu utils
gpu-screen-recorder-gtk
libva-utils libva-utils
vdpauinfo vdpauinfo
lazydocker lazydocker
mangohud
]; ];
} }