added extra folder with addional configs and moved dvd decryption to extra

This commit is contained in:
Sven Vogel 2023-11-17 16:15:01 +01:00
parent 040436a8bf
commit 980581249d
4 changed files with 14 additions and 5 deletions

View File

@ -19,6 +19,7 @@ in
./users/servostar/user.nix ./users/servostar/user.nix
./.luks-swap.nix ./.luks-swap.nix
./fonts.nix ./fonts.nix
./extra/dvd.nix
]; ];
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
@ -170,7 +171,7 @@ in
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = (with pkgs; [
(python3.withPackages(python-packages)) (python3.withPackages(python-packages))
virt-manager virt-manager
@ -228,7 +229,7 @@ in
wineWowPackages.stable wineWowPackages.stable
winetricks winetricks
]; ]);
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.

7
extra/dvd.nix Normal file
View File

@ -0,0 +1,7 @@
{ pkgs, ... }: {
# packages needed for decrypting DVDs with handbrake
environment.systemPackages = with pkgs; [
libdvdcss
handbrake
];
}

View File

@ -6,7 +6,9 @@ read -r choice
case "$choice" in case "$choice" in
y|Y ) y|Y )
echo "copying files..." echo "copying files..."
cp -rv nixos /etc cp -rv extra /etc/nixos/
cp -rv users /etc/nixos/users
cp -rv *.nix /etc/nixos/
;; ;;
n|N ) n|N )
echo "aborting..." echo "aborting..."
@ -32,4 +34,4 @@ case "$1" in
;; ;;
esac esac
echo "done" echo "done"

View File

@ -113,7 +113,6 @@
mpv mpv
inkscape inkscape
krita krita
handbrake
libreoffice-qt libreoffice-qt
libsForQt5.kcalc libsForQt5.kcalc
libsForQt5.ark libsForQt5.ark