Compare commits
1 Commits
main
...
a968d8f380
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a968d8f380 |
105
AGENTS.md
105
AGENTS.md
@@ -1,105 +0,0 @@
|
|||||||
> Note: This document was AI-generated and reviewed by a maintainer.
|
|
||||||
|
|
||||||
# AGENTS Guide for nix-dotfiles
|
|
||||||
|
|
||||||
This file is the quick-start map for coding agents working in this repository.
|
|
||||||
Use this first, then follow the linked source files for full detail.
|
|
||||||
|
|
||||||
## Purpose and Scope
|
|
||||||
|
|
||||||
- Repository type: flake-based NixOS + Home Manager dotfiles/infrastructure.
|
|
||||||
- Primary goals: safe system/user config edits, reproducible builds, and clean secrets handling.
|
|
||||||
- Default assumption: preserve existing module patterns and avoid broad refactors unless requested.
|
|
||||||
|
|
||||||
## Source of Truth
|
|
||||||
|
|
||||||
Read these files before substantial changes:
|
|
||||||
|
|
||||||
- `.github/copilot-instructions.md`: Full repository guide for structure, workflows, dynamic system generation, module patterns, and SOPS handling.
|
|
||||||
- `.github/instructions/ai-doc-attribution.instructions.md`: Markdown rule for top-of-document attribution when docs are fully AI-generated.
|
|
||||||
- `flake.nix`: Flake inputs/outputs entrypoint; system generation begins here.
|
|
||||||
- `lib/systems.nix`: Core dynamic config assembly (`genSystems`, `constructSystem`, and wrapper generators).
|
|
||||||
- `systems/<hostname>/default.nix`: Per-host parameters (users, home, sops, server role, extra modules).
|
|
||||||
- `systems/<hostname>/configuration.nix`: Main host config.
|
|
||||||
- `modules/*.nix`: Global modules automatically imported into all systems.
|
|
||||||
- `users/<username>/home.nix` and `users/<username>/default.nix`: Home Manager and user account configuration.
|
|
||||||
- `hydra/jobs.nix` and `hydra/jobsets.nix`: CI/build orchestration details.
|
|
||||||
|
|
||||||
## Repo Mental Model
|
|
||||||
|
|
||||||
- `systems/` contains host-specific configs.
|
|
||||||
- `modules/` contains global modules applied across hosts.
|
|
||||||
- `users/` contains user and home-manager configs.
|
|
||||||
- `lib/systems.nix` auto-discovers hosts and composes final configs.
|
|
||||||
- SOPS secrets are colocated with hosts/users via `secrets.yaml` files.
|
|
||||||
|
|
||||||
## Dynamic Configuration Rules
|
|
||||||
|
|
||||||
- Hosts are auto-discovered from subdirectories in `systems/`.
|
|
||||||
- Each host's `default.nix` feeds `constructSystem` parameters.
|
|
||||||
- Effective module merge order matters. High-level order is: 1) base external
|
|
||||||
modules, 2) host essentials (`hardware.nix`, `configuration.nix`), 3)
|
|
||||||
host-specific modules from `systems/<host>/default.nix`, 4) global
|
|
||||||
`modules/*.nix`, 5) optional SOPS and Home Manager/user layers.
|
|
||||||
- Global modules load after host config, so explicit overrides may require `lib.mkForce` depending on target option.
|
|
||||||
|
|
||||||
## Editing Conventions
|
|
||||||
|
|
||||||
- Keep changes minimal and scoped to the requested behavior.
|
|
||||||
- Preserve existing Nix style and option naming patterns.
|
|
||||||
- Prefer module options + `lib.mkIf` toggles over hard-coded behavior.
|
|
||||||
- Use `lib.mkDefault` for soft defaults and `lib.mkForce` only when necessary.
|
|
||||||
- Do not commit plaintext secrets.
|
|
||||||
- Update docs when behavior/workflow changes.
|
|
||||||
|
|
||||||
## Validation and Workflow
|
|
||||||
|
|
||||||
Typical local sequence:
|
|
||||||
|
|
||||||
1. Make targeted edits.
|
|
||||||
2. Evaluate and build with `nix flake check` and `nix build .#<hostname>`.
|
|
||||||
3. Optionally deploy/apply with `nh os switch` or `nh home switch`.
|
|
||||||
4. For secrets-related changes, edit with `sops .../secrets.yaml` and validate expected `config.sops.secrets` evaluation paths.
|
|
||||||
|
|
||||||
## Secrets and Safety
|
|
||||||
|
|
||||||
- Secrets live in `systems/<hostname>/secrets.yaml` and `users/<username>/secrets.yaml`.
|
|
||||||
- Use SOPS for create/edit/rekey operations.
|
|
||||||
- During merge conflicts in encrypted files, prefer repository SOPS merge tooling (`utils/sops-mergetool.sh`, `utils/sops-mergetool-new.sh`).
|
|
||||||
|
|
||||||
## Agent and Tool Routing
|
|
||||||
|
|
||||||
When a specialized agent is available, route work by intent:
|
|
||||||
|
|
||||||
- `Explore`: Fast read-only repository exploration and Q&A.
|
|
||||||
- `dependency-auditor`: Flake/module dependency security and CVE-oriented audits.
|
|
||||||
- `security-researcher`: Read-only server security configuration audits.
|
|
||||||
- `server-architect`: Server integration/review planning for `palatine-hill` style infra changes.
|
|
||||||
|
|
||||||
Use Nix lookup tooling for package/options discovery; prefer `unstable` channel when channel selection is available.
|
|
||||||
|
|
||||||
## Where To Look Next (By Task)
|
|
||||||
|
|
||||||
- Add a new host: see `.github/copilot-instructions.md` sections on "Adding a New NixOS System", plus `systems/<new-host>/default.nix`, `hardware.nix`, and `configuration.nix`.
|
|
||||||
- Add/modify a global capability: see `modules/*.nix` and the `.github/copilot-instructions.md` section "Adding a Global Module to modules/".
|
|
||||||
- Change user/home-manager behavior: see `users/<username>/home.nix` and `users/<username>/default.nix`.
|
|
||||||
- Modify build/release automation: see `hydra/jobs.nix` and `hydra/jobsets.nix`.
|
|
||||||
- Work with secrets: see `.sops.yaml`, `systems/*/secrets.yaml`, `users/*/secrets.yaml`, and the `.github/copilot-instructions.md` section "Secrets Management".
|
|
||||||
- Validate module composition/debug evaluation: see `lib/systems.nix` and `nix eval .#nixosConfigurations.<host>...`.
|
|
||||||
|
|
||||||
## Documentation Attribution Rule
|
|
||||||
|
|
||||||
For Markdown docs (`**/*.md`):
|
|
||||||
|
|
||||||
- If a document is fully AI-generated, include explicit attribution near the top.
|
|
||||||
- Accepted label includes "AI-generated documentation" wording.
|
|
||||||
- Do not imply fully human authorship for fully AI-authored content.
|
|
||||||
|
|
||||||
## Quick Command Reference
|
|
||||||
|
|
||||||
- `nh os build`
|
|
||||||
- `nh os switch`
|
|
||||||
- `nh home switch`
|
|
||||||
- `nix build .#<hostname>`
|
|
||||||
- `nix flake check`
|
|
||||||
- `nix eval .#nixosConfigurations.<hostname>.config.<path>`
|
|
||||||
60
flake.lock
generated
60
flake.lock
generated
@@ -76,11 +76,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1776398575,
|
"lastModified": 1777089773,
|
||||||
"narHash": "sha256-WArU6WOdWxzbzGqYk4w1Mucg+bw/SCl6MoSp+/cZMio=",
|
"narHash": "sha256-ZIlNuebeWTncyl7mcV9VbceSLAaZki+UeXLPQG959xI=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "05815686caf4e3678f5aeb5fd36e567886ab0d30",
|
"rev": "402ba229617a12d918c2a887a4c83a9a24f9a36c",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -240,11 +240,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776454077,
|
"lastModified": 1777086106,
|
||||||
"narHash": "sha256-7zSUFWsU0+jlD7WB3YAxQ84Z/iJurA5hKPm8EfEyGJk=",
|
"narHash": "sha256-hlNpIN18pw3xo34Lsrp6vAMUPn0aB/zFBqL0QXI1Pmk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "565e5349208fe7d0831ef959103c9bafbeac0681",
|
"rev": "5826802354a74af18540aef0b01bc1320f82cc17",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -335,11 +335,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775970782,
|
"lastModified": 1776829403,
|
||||||
"narHash": "sha256-7jt9Vpm48Yy5yAWigYpde+HxtYEpEuyzIQJF4VYehhk=",
|
"narHash": "sha256-oHVcvP2Ahhj1KUsEzp+2BQF55/r5VSa3QxdPdwE1p00=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "bedba5989b04614fc598af9633033b95a937933f",
|
"rev": "c43246d4e9e506178b69baed075d797ec2d873e2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -415,11 +415,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775490113,
|
"lastModified": 1776983936,
|
||||||
"narHash": "sha256-2ZBhDNZZwYkRmefK5XLOusCJHnoeKkoN95hoSGgMxWM=",
|
"narHash": "sha256-ZOQyNqSvJ8UdrrqU1p7vaFcdL53idK+LOM8oRWEWh6o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "c775c2772ba56e906cbeb4e0b2db19079ef11ff7",
|
"rev": "2096f3f411ce46e88a79ae4eafcfc9df8ed41c61",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -500,11 +500,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776169885,
|
"lastModified": 1776877367,
|
||||||
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
|
"narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9",
|
"rev": "0726a0ecb6d4e08f6adced58726b95db924cef57",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -550,11 +550,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775585728,
|
"lastModified": 1776796298,
|
||||||
"narHash": "sha256-8Psjt+TWvE4thRKktJsXfR6PA/fWWsZ04DVaY6PUhr4=",
|
"narHash": "sha256-PcRvlWayisPSjd0UcRQbhG8Oqw78AcPE6x872cPRHN8=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "580633fa3fe5fc0379905986543fd7495481913d",
|
"rev": "3cfd774b0a530725a077e17354fbdb87ea1c4aad",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -594,11 +594,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776395632,
|
"lastModified": 1777086717,
|
||||||
"narHash": "sha256-Mi1uF5f2FsdBIvy+v7MtsqxD3Xjhd0ARJdwoqqqPtJo=",
|
"narHash": "sha256-vEl3cGHRxEFdVNuP9PbrhAWnmU98aPOLGy9/1JXzSuM=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "8087ff1f47fff983a1fba70fa88b759f2fd8ae97",
|
"rev": "3be56bd430bfd65d3c468a50626c3a601c7dee03",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -614,11 +614,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776119890,
|
"lastModified": 1776771786,
|
||||||
"narHash": "sha256-Zm6bxLNnEOYuS/SzrAGsYuXSwk3cbkRQZY0fJnk8a5M=",
|
"narHash": "sha256-DRFGPfFV6hbrfO9a1PH1FkCi7qR5FgjSqsQGGvk1rdI=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "d4971dd58c6627bfee52a1ad4237637c0a2fb0cd",
|
"rev": "bef289e2248991f7afeb95965c82fbcd8ff72598",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -647,11 +647,11 @@
|
|||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776170745,
|
"lastModified": 1776893932,
|
||||||
"narHash": "sha256-Tl1aZVP5EIlT+k0+iAKH018GLHJpLz3hhJ0LNQOWxCc=",
|
"narHash": "sha256-AFD5cf9eNqXq1brHS63xeZy2xKZMgG9J86XJ9I2eLn8=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "e3861617645a43c9bbefde1aa6ac54dd0a44bfa9",
|
"rev": "84971726c7ef0bb3669a5443e151cc226e65c518",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -767,11 +767,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775531246,
|
"lastModified": 1777064547,
|
||||||
"narHash": "sha256-sbVYa4TS2Q1pkSjs8CvHsPGYFM5w4d9od4ltzIGV/bA=",
|
"narHash": "sha256-hssXWvyy6bzaGi9FuZQPGxVBLzQKRPDht13O0Y+Qxmo=",
|
||||||
"owner": "Toqozz",
|
"owner": "Toqozz",
|
||||||
"repo": "wired-notify",
|
"repo": "wired-notify",
|
||||||
"rev": "4fd4283803f198302af1a6a75b2225568004b343",
|
"rev": "95edd8613b1636639857a3fba403155cef82eb5d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
10
flake.nix
10
flake.nix
@@ -164,23 +164,19 @@
|
|||||||
lib = self;
|
lib = self;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
packageSetup = import ./pkgs/default.nix { inherit nixpkgs; };
|
|
||||||
inherit (packageSetup) localPackagesOverlay;
|
|
||||||
inherit (lib.adev.systems) genSystems getImages;
|
inherit (lib.adev.systems) genSystems getImages;
|
||||||
inherit (self) outputs; # for hydra
|
inherit (self) outputs; # for hydra
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
inherit lib; # for allowing use of custom functions in nix repl
|
inherit lib; # for allowing use of custom functions in nix repl
|
||||||
|
|
||||||
overlays.default = localPackagesOverlay;
|
|
||||||
|
|
||||||
hydraJobs = import ./hydra/jobs.nix { inherit inputs outputs systems; };
|
hydraJobs = import ./hydra/jobs.nix { inherit inputs outputs systems; };
|
||||||
formatter = forEachSystem (system: nixpkgs.legacyPackages.${system}.nixfmt);
|
formatter = forEachSystem (system: nixpkgs.legacyPackages.${system}.nixfmt);
|
||||||
|
|
||||||
nixosConfigurations = genSystems inputs outputs src (src + "/systems");
|
nixosConfigurations = genSystems inputs outputs src (src + "/systems");
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
"alice" = inputs.home-manager.lib.homeManagerConfiguration {
|
"alice" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = packageSetup.mkPkgs "x86_64-linux";
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||||
modules = [
|
modules = [
|
||||||
inputs.stylix.homeModules.stylix
|
inputs.stylix.homeModules.stylix
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
@@ -207,7 +203,9 @@
|
|||||||
qcow = getImages nixosConfigurations "qcow";
|
qcow = getImages nixosConfigurations "qcow";
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = forEachSystem packageSetup.mkPackages;
|
packages.x86_64-linux.lego-latest =
|
||||||
|
nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/lego-latest/default.nix
|
||||||
|
{ };
|
||||||
|
|
||||||
checks = import ./checks.nix { inherit inputs forEachSystem formatter; };
|
checks = import ./checks.nix { inherit inputs forEachSystem formatter; };
|
||||||
devShells = import ./shell.nix { inherit inputs forEachSystem checks; };
|
devShells = import ./shell.nix { inherit inputs forEachSystem checks; };
|
||||||
|
|||||||
@@ -172,7 +172,6 @@ rec {
|
|||||||
modules = [
|
modules = [
|
||||||
inputs.nixos-modules.nixosModule
|
inputs.nixos-modules.nixosModule
|
||||||
inputs.nix-index-database.nixosModules.nix-index
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
{ nixpkgs.overlays = [ outputs.overlays.default ]; }
|
|
||||||
(genHostName hostname)
|
(genHostName hostname)
|
||||||
(configPath + "/hardware.nix")
|
(configPath + "/hardware.nix")
|
||||||
(configPath + "/configuration.nix")
|
(configPath + "/configuration.nix")
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
libnotify,
|
libnotify,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
maintainers = import ../maintainers.nix;
|
|
||||||
bins = [
|
bins = [
|
||||||
jq
|
jq
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
@@ -65,7 +64,6 @@ stdenv.mkDerivation {
|
|||||||
description = "Wrapper for Bitwarden and Rofi";
|
description = "Wrapper for Bitwarden and Rofi";
|
||||||
homepage = "https://github.com/mattydebie/bitwarden-rofi";
|
homepage = "https://github.com/mattydebie/bitwarden-rofi";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.alice ];
|
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,52 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
fetchFromGitHub,
|
|
||||||
rustPlatform,
|
|
||||||
pkg-config,
|
|
||||||
openssl,
|
|
||||||
alsa-lib,
|
|
||||||
dbus,
|
|
||||||
libxkbcommon,
|
|
||||||
libxcb,
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
maintainers = import ../maintainers.nix;
|
|
||||||
in
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "claurst";
|
|
||||||
version = "0.0.9";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "Kuberwastaken";
|
|
||||||
repo = "claurst";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-bTQHtZGZxhEAki0JxSC8smAC3w+otm8ubHvZ9MvwDaE=";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoRoot = "src-rust";
|
|
||||||
cargoHash = "sha256-6+B43spqmUZ983YMl5UBH5647DcUOS2ngw5ChMIPFFo=";
|
|
||||||
buildAndTestSubdir = "src-rust";
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
openssl
|
|
||||||
alsa-lib
|
|
||||||
dbus
|
|
||||||
libxkbcommon
|
|
||||||
libxcb
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Terminal coding agent written in Rust";
|
|
||||||
homepage = "https://github.com/Kuberwastaken/claurst";
|
|
||||||
license = licenses.gpl3Only;
|
|
||||||
mainProgram = "claurst";
|
|
||||||
maintainers = [ maintainers.alice ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
{ nixpkgs }:
|
|
||||||
let
|
|
||||||
localPackagesOverlay = final: _prev: {
|
|
||||||
lego-latest = final.callPackage ./lego-latest/default.nix { };
|
|
||||||
claurst = final.callPackage ./claurst/default.nix { };
|
|
||||||
};
|
|
||||||
|
|
||||||
mkPkgs =
|
|
||||||
system:
|
|
||||||
import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
overlays = [ localPackagesOverlay ];
|
|
||||||
};
|
|
||||||
|
|
||||||
mkPackages =
|
|
||||||
system:
|
|
||||||
let
|
|
||||||
pkgs = mkPkgs system;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit (pkgs)
|
|
||||||
lego-latest
|
|
||||||
claurst
|
|
||||||
;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit
|
|
||||||
localPackagesOverlay
|
|
||||||
mkPkgs
|
|
||||||
mkPackages
|
|
||||||
;
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
alice = {
|
|
||||||
name = "Alice Huston";
|
|
||||||
email = "aliceghuston@gmail.com";
|
|
||||||
github = "ahuston-0";
|
|
||||||
githubId = 43225907;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -54,12 +54,6 @@
|
|||||||
"starcoder2:7b"
|
"starcoder2:7b"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
avahi = {
|
|
||||||
enable = true;
|
|
||||||
#publish.enable = true;
|
|
||||||
nssmdns4 = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
calibre-web = {
|
calibre-web = {
|
||||||
# temp disable this
|
# temp disable this
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
attic-client
|
attic-client
|
||||||
amdgpu_top
|
amdgpu_top
|
||||||
android-tools
|
android-tools
|
||||||
|
bat
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
bfg-repo-cleaner
|
bfg-repo-cleaner
|
||||||
brightnessctl
|
brightnessctl
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
#claude-code
|
#claude-code
|
||||||
croc
|
croc
|
||||||
deadnix
|
deadnix
|
||||||
|
direnv
|
||||||
easyeffects
|
easyeffects
|
||||||
eza
|
eza
|
||||||
fanficfare
|
fanficfare
|
||||||
@@ -105,13 +107,4 @@
|
|||||||
zoom-us
|
zoom-us
|
||||||
zoxide
|
zoxide
|
||||||
];
|
];
|
||||||
programs = {
|
|
||||||
appimage = {
|
|
||||||
enable = true;
|
|
||||||
binfmt = true;
|
|
||||||
};
|
|
||||||
bat.enable = true;
|
|
||||||
direnv.enable = true;
|
|
||||||
kdeconnect.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,6 @@
|
|||||||
|
|
||||||
gocryptfs
|
gocryptfs
|
||||||
awscli2
|
awscli2
|
||||||
claurst
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -194,22 +194,20 @@ in
|
|||||||
onSave = true;
|
onSave = true;
|
||||||
forwardSearchAfter = true;
|
forwardSearchAfter = true;
|
||||||
};
|
};
|
||||||
#forwardSearch = {
|
forwardSearch = {
|
||||||
# #executable = "zathura";
|
executable = "zathura";
|
||||||
# args = [
|
args = [
|
||||||
# "--synctex-forward"
|
"--synctex-forward"
|
||||||
# "%l:1:%f"
|
"%l:1:%f"
|
||||||
# "-x"
|
"-x"
|
||||||
# "zed %%{input}:%%{line}"
|
"zed %%{input}:%%{line}"
|
||||||
# "%p"
|
"%p"
|
||||||
# ];
|
];
|
||||||
#};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gnome-keyring.enable = true;
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
cmake
|
cmake
|
||||||
@@ -270,6 +268,7 @@ in
|
|||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
bitwarden-menu
|
bitwarden-menu
|
||||||
wtype
|
wtype
|
||||||
|
zathura
|
||||||
obsidian
|
obsidian
|
||||||
libreoffice-qt-fresh
|
libreoffice-qt-fresh
|
||||||
wlr-randr
|
wlr-randr
|
||||||
|
|||||||
Reference in New Issue
Block a user