目录
Cole Mickens

flake.lock: Update

Flake lock file updates:

• Updated input ‘cmpkgs’: ‘github:nixos/nixpkgs/cda4854’ (2026-03-17) → ‘github:nixos/nixpkgs/b40629e’ (2026-03-18) • Updated input ‘determinate’: ‘github:DeterminateSystems/determinate/d01fc66’ (2026-03-17) → ‘github:DeterminateSystems/determinate/f9f3419’ (2026-03-19) • Updated input ‘determinate/determinate-nixd-aarch64-darwin’: ‘https://install.determinate.systems/determinate-nixd/tag/v3.17.0/macOS' → ‘https://install.determinate.systems/determinate-nixd/tag/v3.17.1/macOS' • Updated input ‘determinate/determinate-nixd-aarch64-linux’: ‘https://install.determinate.systems/determinate-nixd/tag/v3.17.0/aarch64-linux' → ‘https://install.determinate.systems/determinate-nixd/tag/v3.17.1/aarch64-linux' • Updated input ‘determinate/determinate-nixd-x86_64-linux’: ‘https://install.determinate.systems/determinate-nixd/tag/v3.17.0/x86_64-linux' → ‘https://install.determinate.systems/determinate-nixd/tag/v3.17.1/x86_64-linux' • Updated input ‘determinate/nix’: ‘https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.17.0/019cbb2e-8d12-7212-a98f-73fd1f2342a2/source.tar.gz' (2026-03-04) → ‘https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.17.1/019d0787-b4b2-7dcd-a94a-2f9fd34dac4b/source.tar.gz' (2026-03-19) • Updated input ‘determinate/nixpkgs’: ‘https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.957146%2Brev-4215e62dc2cd3bc705b0a423b9719ff6be378a43/019cb23c-bcc0-7c8e-9772-0f9ff50d72f3/source.tar.gz' (2026-03-02) → ‘https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.963717%2Brev-a07d4ce6bee67d7c838a8a5796e75dff9caa21ef/019cfa58-0a94-7ef5-9db4-b1ad28c57d49/source.tar.gz' (2026-03-15) • Updated input ‘ghostty’: ‘github:ghostty-org/ghostty/c9e1006’ (2026-03-18) → ‘github:ghostty-org/ghostty/155bd3a’ (2026-03-21) • Added input ‘ghostty/systems’: ‘github:nix-systems/default/da67096’ (2023-04-09) • Updated input ‘ghostty/zig/systems’: ‘github:nix-systems/default/da67096’ (2023-04-09) → follows ‘ghostty/systems’ • Updated input ‘helix’: ‘github:helix-editor/helix/510edb5’ (2026-03-17) → ‘github:helix-editor/helix/3d68e0a’ (2026-03-20) • Updated input ‘home-manager’: ‘github:nix-community/home-manager/d47357a’ (2026-03-18) → ‘github:nix-community/home-manager/9670de2’ (2026-03-20) • Updated input ‘nixos-hardware’: ‘github:NixOS/nixos-hardware/f8e8224’ (2026-03-15) → ‘github:NixOS/nixos-hardware/2d4b471’ (2026-03-20) • Updated input ‘nixpkgs-unstable’: ‘github:nixos/nixpkgs/f8573b9’ (2026-03-16) → ‘github:nixos/nixpkgs/9cf7092’ (2026-03-18) • Updated input ‘sops-nix’: ‘github:Mic92/sops-nix/8237de8’ (2026-03-16) → ‘github:Mic92/sops-nix/29b6519’ (2026-03-19)

27天前8747次提交

nixcfg

Nix rules everything around me

Overview

  • NixOS configurations for my laptop, and old desktop server
  • Determinate Nix-powered
  • reproducible, and immutable full system configuration (think dotfiles, but better)

Components Used

  • home-manager for user-based app/desktop configuration
  • sops-nix for secrets (encrypted at rest, per-host encryption)
  • lanzaboote for bootloader configuration
  • determinate for getting the best version of Nix with robust defaults

What I Use

  • firefox: because Google should not own the web, and Sideberry is essential for tree-style tabs

  • helix: my go-to editor; TUI, Rust, modal, built-in LSP, etc

  • zelij: tmux but better, with excellent UX for beginners

  • openvscode-server: VSCodium-based editor; used for work and sometimes personal stuff

  • COSMIC for my desktop environment:

    screenshot of machine 'zeph' running the Cosmic desktop environment

Repo Layout

  • hosts
    • toplevel machine definitions:
    • zeph
      • ASUS Zephyrus G14 (2022) - GA402RJ
      • current daily-driver
      • favorite, all-AMD, laptop ever
      • dual-booting NixOS, of course, and Windows 11 for casual 120Hz/1600p gaming
    • slynux
      • (custom, retired gaming PC)
      • primary personal Nix CI server
      • primary SyncThing target
    • raisin
      • Lenovo “Yoga Slim 7 Pro-14ACH5 Laptop (ideapad) - Type 82MS”
      • retired laptop
      • now an unused “backup” server
      • backup SyncThing target
      • occassional Tailscale exit node
  • images/
    • installer (meta, iso)
      • configuration for a custom x86_64-linux installer image
      • includes my SSH key and sshd enabled and most used programs
      • see: nix build .#extra.x86_64-linux.installer
  • misc/
    • misc scripts
    • buyer beware
  • mixins/
    • individual application configuration (mostly via home-manager)
    • mix of home-manager and nixos configuration
    • (prs, jj, git, ssh, zsh, nushell, gnupg, helix, etc)
  • profiles/
    • bits that compose machine “personas”
    • core.nix - core bits, see also mixins/common.nix
    • interactive.nix - headless systems
    • gui.nix - baseline for GUI systems
    • gui-wayland.nix - common tools for wayland/wlroots compositors
    • gui-cosmic.nix - bare COSMIC configuration (maybe cosmic-manager in the future?)
    • addon-dev.nix - pull devtool’s shell deps into system
    • addon-laptop.nix - common laptop bits, power management, etc
    • addon-asus.nix - extras for my ASUS laptop
    • user-cole.nix - my base cole user configuration
  • secrets/
    • script to manage sops for sops-nix
  • shells/
    • nix shells for various scenarios
      • _minimal.nix - minimal shell base
      • ci.nix - tools needed to drive CI for this repo
      • devenv.nix - complete set of tools for Go/Rust/Nix development
      • uutils.nix - experimentation with rust-based coreutils
  • main.nu
    • custom script for builds, deploys, etc
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号