Compare commits

...

3 commits

Author SHA1 Message Date
Patrick e06a9a061e
feat: allow for own patches 2024-11-05 15:20:07 +01:00
Patrick 063a049ffc
fix: systemd-machine-id-commit with bind mount 2024-11-05 15:19:33 +01:00
Patrick 6d68170211
feat: add element 2024-11-05 15:19:10 +01:00
5 changed files with 10 additions and 3 deletions

View file

@ -32,3 +32,4 @@ This file contains a small overview over the contents and structure of this repo
- `wayland/` configuration for wayland windowmanagers and basic utilities
- `xorg/` configuration for xorg windowmanagers and basic utilities
- `root` minimal configuration for root
' `patches` patche to be applied to nixpkgs before the system is built

View file

@ -43,6 +43,9 @@ let
'';
in
{
# https://github.com/nix-community/impermanence/issues/229
boot.initrd.systemd.suppressedUnits = [ "systemd-machine-id-commit.service" ];
systemd.suppressedSystemUnits = [ "systemd-machine-id-commit.service" ];
# to allow all users to access hm managed persistent folders
lib.scripts.impermanence.pruneScripts = lib.mapAttrs (k: _: prune k) config.environment.persistence;
programs.fuse.userAllowOther = true;

View file

@ -6,12 +6,12 @@ if [ ! -f flake.nix ]; then
exit 1
fi
mkdir -p patches
mkdir -p patches/PR
echo "Removing old patches"
rm patches/*.diff
rm patches/PR/*.diff
for t in "${PRS[@]}"; do
echo "Fetching PR #$t"
url="https://github.com/NixOS/nixpkgs/pull/$t"
echo "$url"
wcurl "$url.diff" --curl-options "--output-dir patches"
wcurl "$url.diff" --curl-options "--output-dir patches/PR"
done

View file

@ -48,6 +48,8 @@
".cache/mpv"
".config/Element"
".config/spotify"
".cache/spotify"
".local/share/cargo"

View file

@ -37,6 +37,7 @@
zathura
zotero
bashInteractive
element-desktop-wayland
];
};
hm.programs.bat.enable = true;