GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pogoba/dotfiles: My dotfiles. Mostly NixOS config.

BranchesTags
Open more actions menu

Latest commit

 

History

801 Commits
801 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.github/workflows
.github/workflows
 
 
archlinux
archlinux
 
 
async-term-askpass
async-term-askpass
 
 
devShells
devShells
 
 
homeManager
homeManager
 
 
keyboards
keyboards
 
 
libvirt
libvirt
 
 
modules
modules
 
 
pkgs
pkgs
 
 
skrooge
skrooge
 
 
users-hm
users-hm
 
 
wluma-git
wluma-git
 
 
wluma
wluma
 
 
.alacritty.yml
.alacritty.yml
 
 
.gitignore
.gitignore
 
 
.sops.yaml
.sops.yaml
 
 
README.md
README.md
 
 
Session.vim
Session.vim
 
 
aenderer.nix
aenderer.nix
 
 
aendernix.nix
aendernix.nix
 
 
aenderpad.nix
aenderpad.nix
 
 
capture.syscap
capture.syscap
 
 
config-common.nix
config-common.nix
 
 
core-to-core-latency-plot.png
core-to-core-latency-plot.png
 
 
disko-test.nix
disko-test.nix
 
 
dump-config.nix
dump-config.nix
 
 
flake-configurations.nix
flake-configurations.nix
 
 
flake-devshells.nix
flake-devshells.nix
 
 
flake-packages.nix
flake-packages.nix
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
foo
foo
 
 
gdisk-gpt-backup
gdisk-gpt-backup
 
 
justfile
justfile
 
 
laptop.csv
laptop.csv
 
 
monitors.xml
monitors.xml
 
 
nonowrap
nonowrap
 
 
perf.data
perf.data
 
 
perf.data.old
perf.data.old
 
 
secrets.yaml
secrets.yaml
 
 

Repository files navigation

pw-metadata -n settings 0 clock.force-rate 48000

My dotfiles for NixOS

Built with flake-parts, home-manager and sops-nix.

Entrypoints:

  • devShells/: some shells containing stuff for development (try with e.g. nix shell github:pogobanane/dotfiles#latex)
  • homeManager/: my home-manager config. Can be used stand-alone e.g. on the doctor-cluster with nix run github:pogobanane/dotfiles#doctor-home -- switch
  • pkgs/: some software i packaged for personal use (e.g. nix run github:pogobanane/dotfiles#jack-keyboard)
  • NixOS configurations are in flake-configurations.nix (try with just nixos-build and sudo nixos-rebuild switch --flake .#aendernix)

Table of contents (outdated):

git+file:///home/peter/dev/dotfiles
├───apps
│   ├───aarch64-darwin
│   │   └───doctor-home: app
│   ├───aarch64-linux
│   │   └───doctor-home: app
│   └───x86_64-linux
│       └───doctor-home: app
├───devShells
│   ├───aarch64-darwin
│   │   ├───clang omitted (use '--all-systems' to show)
│   │   ├───containers omitted (use '--all-systems' to show)
│   │   ├───default omitted (use '--all-systems' to show)
│   │   ├───latex omitted (use '--all-systems' to show)
│   │   ├───networking omitted (use '--all-systems' to show)
│   │   ├───node omitted (use '--all-systems' to show)
│   │   ├───python omitted (use '--all-systems' to show)
│   │   ├───rust omitted (use '--all-systems' to show)
│   │   └───sys-stats omitted (use '--all-systems' to show)
│   ├───aarch64-linux
│   │   ├───clang omitted (use '--all-systems' to show)
│   │   ├───containers omitted (use '--all-systems' to show)
│   │   ├───default omitted (use '--all-systems' to show)
│   │   ├───latex omitted (use '--all-systems' to show)
│   │   ├───networking omitted (use '--all-systems' to show)
│   │   ├───node omitted (use '--all-systems' to show)
│   │   ├───python omitted (use '--all-systems' to show)
│   │   ├───rust omitted (use '--all-systems' to show)
│   │   └───sys-stats omitted (use '--all-systems' to show)
│   └───x86_64-linux
│       ├───clang: development environment 'nix-shell'
│       ├───containers: development environment 'nix-shell'
│       ├───default: development environment 'nix-shell'
│       ├───latex: development environment 'nix-shell'
│       ├───networking: development environment 'nix-shell'
│       ├───node: development environment 'nix-shell'
│       ├───python: development environment 'nix-shell'
│       ├───rust: development environment 'nix-shell'
│       └───sys-stats: development environment 'nix-shell'
├───homeConfigurations: unknown
├───nixosConfigurations
│   ├───aendernix: NixOS configuration
│   └───aenderpad: NixOS configuration
└───packages
    ├───aarch64-darwin
    │   ├───jack-keyboard omitted (use '--all-systems' to show)
    │   ├───loc-git omitted (use '--all-systems' to show)
    │   ├───map-cmd omitted (use '--all-systems' to show)
    │   ├───nix-patched omitted (use '--all-systems' to show)
    │   ├───nix-top omitted (use '--all-systems' to show)
    │   ├───nixos-generations omitted (use '--all-systems' to show)
    │   ├───qmk_firmware_k3 omitted (use '--all-systems' to show)
    │   ├───revanced-cli omitted (use '--all-systems' to show)
    │   ├───self-flake omitted (use '--all-systems' to show)
    │   ├───sonixflasherc omitted (use '--all-systems' to show)
    │   └───wondershaper omitted (use '--all-systems' to show)
    ├───aarch64-linux
    │   ├───jack-keyboard omitted (use '--all-systems' to show)
    │   ├───loc-git omitted (use '--all-systems' to show)
    │   ├───map-cmd omitted (use '--all-systems' to show)
    │   ├───nix-patched omitted (use '--all-systems' to show)
    │   ├───nix-top omitted (use '--all-systems' to show)
    │   ├───nixos-generations omitted (use '--all-systems' to show)
    │   ├───qmk_firmware_k3 omitted (use '--all-systems' to show)
    │   ├───revanced-cli omitted (use '--all-systems' to show)
    │   ├───self-flake omitted (use '--all-systems' to show)
    │   ├───sonixflasherc omitted (use '--all-systems' to show)
    │   └───wondershaper omitted (use '--all-systems' to show)
    └───x86_64-linux
        ├───jack-keyboard: package 'jack-keyboard'
        ├───kobo-book-downloader: package 'kobo-book-downloader-2022-11-23'
        ├───loc-git: package 'loc-0.4.1'
        ├───map-cmd: package 'map-0.1.1'
        ├───nix-patched: package 'nix-patched-2.18.8'
        ├───nix-top: package 'nix-top-0.3.0'
        ├───nixos-generations: package 'nixos-generations'
        ├───qmk_firmware_k3: package 'qmk_firmware_k3'
        ├───revanced-cli: package 'revanced-cli'
        ├───self-flake: package 'self-flake'
        ├───sonixflasherc: package 'sonixflasherc'
        ├───webcord: package 'webcord-3.9.3'
        └───wondershaper: package 'wondershaper'

Notes

Add impurities to self-flake/impure-debug-info via `nix build --override-inputs impurity "path:/tmp/foo/".

Known issues

  • the luks decryption prompt uses the uefi display (R4280). But the ignoreR4280 specialization unbinds the gpu driver from that display at boot. Thus you have to enter your password invisibly.
  • Potential fix: framebuffer mapping to the default tty: fbcon=map:<0123> https://www.kernel.org/doc/html/latest/fb/fbcon.html (example fbcon=map:1). However during early boot stage 1, fb0 is the only one available. So no second screen then.
  • I cant figure out how to bind vfio-pci to gpus after stage 1, so we have to decide which gpu to use at boot time.

Security to implement some day

  • secure boot
  • protect processes from being traced/debugged from other ones from the same user: https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html
  • prevent general kernel tracing (/dev/mem): https://man7.org/linux/man-pages/man7/kernel_lockdown.7.html
  • enable stack protectors, kernel patches etc: use -hardened kernel

Formatting disks

(legacy until all devices use disko)

follow essentially: https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS

  • set up some boot partition
  • create luks partition, cryptsetup open it
  • create LVM on luks partition pvcreate /dev/mapper/luks*

How to mount an encrypted zfs image:

  • nix-shell -p util-linux
  • sudo losetup
  • sudo losetup /dev/loop${n+1} ./zfs.img
  • sudo zpool import -o readonly -f -d /dev/loop${n+1} ${partitin label as of lsblk -f: e.g. zroot} -R /mnt
  • sudo zfs list
  • sudo zfs load-key ${encrypted zpool partition: e.g. zroot/root}
  • for legacy mountpoints: sudo mount -t zfs

About

My dotfiles. Mostly NixOS config.

Topics

buildbot-tum-dsedotfilesnix-flakenixos-confignixos-configuration

Resources

Readme
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.