feat: add nixos configuration

This commit is contained in:
hhhh hgfh 2026-10-03 13:15:51 +00:00
parent f0ed8873f6
commit 52b53c8069
14 changed files with 272 additions and 2 deletions

View file

@ -0,0 +1,10 @@
{ ... }:
{
imports = [
./desktop.nix
./development.nix
./shell.nix
./utilities.nix
];
}

View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
adwaita-icon-theme
firefox
grim
hyprpaper
kitty
mako
slurp
waybar
wl-clipboard
wofi
];
}

View file

@ -0,0 +1,29 @@
{ codexPkgs, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
clang
cmake
codexPkgs.codex
gcc
git
gitui
meson
neovim
ninja
tree-sitter
vim
];
systemd.user.services.codex-background-server = {
description = "Codex background app server";
wantedBy = [ "default.target" ];
unitConfig.ConditionUser = "hhhh";
serviceConfig = {
ExecStart = "/run/current-system/sw/bin/codex app-server --listen unix://";
WorkingDirectory = "%h";
Restart = "on-failure";
RestartSec = 3;
};
};
}

View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
atuin
blesh
direnv
eza
fd
fzf
ripgrep
starship
zoxide
];
environment.etc."blesh/ble.sh".source = "${pkgs.blesh}/share/blesh/ble.sh";
}

View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
curl
tree
unzip
wget
zip
];
}