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
./.luks-swap.nix
./fonts.nix
./extra/dvd.nix
];
hardware.bluetooth.enable = true;
@ -170,7 +171,7 @@ in
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
environment.systemPackages = (with pkgs; [
(python3.withPackages(python-packages))
virt-manager
@ -228,7 +229,7 @@ in
wineWowPackages.stable
winetricks
];
]);
# Some programs need SUID wrappers, can be configured further or are
# 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
y|Y )
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 )
echo "aborting..."
@ -32,4 +34,4 @@ case "$1" in
;;
esac
echo "done"
echo "done"

View File

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