Compare commits

...

3 Commits

6 changed files with 30 additions and 12 deletions

View File

@ -19,6 +19,8 @@ in
./users/servostar/user.nix ./users/servostar/user.nix
./.luks-swap.nix ./.luks-swap.nix
./fonts.nix ./fonts.nix
./extra/dvd.nix
./extra/bluray.nix
]; ];
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
@ -170,7 +172,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
@ -195,11 +197,6 @@ in
openocd # on-chip programming and debugging support openocd # on-chip programming and debugging support
avrdude # esp32 and others support avrdude # esp32 and others support
libdvdcss
libaacs
libbdplus
libbluray
devbox devbox
filelight filelight
ffmpeg-full ffmpeg-full
@ -228,7 +225,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.

14
extra/bluray.nix Normal file
View File

@ -0,0 +1,14 @@
{ pkgs, config, ... }: {
# libaacs requires some extra configuration
# an extra VUK database setup in the users XDG config directory
# can be downloaded from: http://fvonline-db.bplaced.net/
# and must be placed in: ~/.config/aaacs/KEYDB.cfg
# packages needed for decrypting Blurays
environment.systemPackages = with pkgs; [
libdvdcss
libaacs
libbdplus
libbluray
];
}

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

@ -11,5 +11,4 @@ ps: with ps;
setuptools setuptools
ipykernel ipykernel
scipy scipy
gurobipy ]
]

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