Debian stable with declarative install script
Returned to Debian (stable) because NixOS updates are getting increasingly heavy, so that my ageing Asus N53J laptop can no longer handle them comfortably (latest update locked up my computer for at least an hour). I'm using a simple bash
shell script to have somewhat declarative installs.
I have considered to return to Propellor but decided to take a KISS (Keep It Simple Stupid) approach.
Debian install
I've installed stable and kept my partitioning from NixOS
. All my data are on a separate encrypted drive, so no changes there.
Configuration files git
My configuration is in a system wide git repository, controlled via an alias.
1alias config='git --git-dir=/.cfg/ --work-tree=/'
The repository under /.cfg
was created -- as root -- via:
1cd /
2mkdir .cfg
3cd .cfg
4git init
The git config:
/.cfg/config
:
1[core]
2 repositoryformatversion = 0
3 filemode = true
4 bare = false
5 logallrefupdates = true
6 worktree = /
7[status]
8 showUntrackedFiles = no
The showUntrackedFiles
prevents showing of all files on the system as 'untracked files'.
My current configation:
1root@sapientia:/# config ls-files
2etc/apt/sources.list
3etc/crypttab
4etc/fstab
5etc/pam.d/sshd
6etc/ssh/sshd_config
7home/mdo/.bashrc
8home/mdo/.config/xmobar/xmobarrc0
9home/mdo/.config/xmobar/xmobarrc1
10home/mdo/.profile
11home/mdo/.tmux.conf
12home/mdo/.vimrc
13home/mdo/.xinitrc
14home/mdo/.xmonad/xmonad.hs
15root/.vimrc
16root/os/os.sh
Declarative install script
The script is on Codeberg
: photonsphere/os. It sort of duplicates my earlier Propellor setup.