mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
update nixos config backup
This commit is contained in:
@@ -1,2 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
DEVICE=$1
|
||||||
|
|
||||||
|
if [ -z $DEVICE ] ; then
|
||||||
|
echo "missing 1st argument (DEVICE), ie. the name of the device where the backup is being done"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
cp /etc/nixos/* ./nixos/
|
cp /etc/nixos/* ./nixos/
|
||||||
|
mv ./nixos/configuration.nix ./nixos/$DEVICE-configuration.nix
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
xfce.thunar
|
xfce.thunar
|
||||||
xfce.xfconf # needed to save preferences of thunar
|
xfce.xfconf # needed to save preferences of thunar
|
||||||
xfce.ristretto
|
xfce.ristretto
|
||||||
|
xfce.tumbler # for thumbnails of imgs
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
|
||||||
# other
|
# other
|
||||||
@@ -61,14 +62,14 @@
|
|||||||
|
|
||||||
# languages
|
# languages
|
||||||
texlive.combined.scheme-medium # includes latexmk
|
texlive.combined.scheme-medium # includes latexmk
|
||||||
#pgf-umlsd # latex diagrams
|
pgf-umlsd # latex diagrams
|
||||||
#pgf
|
pgf
|
||||||
#(pkgs.texlive.combine {
|
(pkgs.texlive.combine {
|
||||||
# inherit (pkgs.texlive)
|
inherit (pkgs.texlive)
|
||||||
# scheme-medium
|
scheme-medium
|
||||||
# pgf
|
pgf
|
||||||
# ;
|
;
|
||||||
#})
|
})
|
||||||
#gcc
|
#gcc
|
||||||
clang
|
clang
|
||||||
clang-tools
|
clang-tools
|
||||||
@@ -101,4 +102,8 @@
|
|||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
environment.shells = with pkgs; [zsh];
|
environment.shells = with pkgs; [zsh];
|
||||||
|
|
||||||
|
xdg.mime.enable=true;
|
||||||
|
xdg.mime.defaultApplications = {
|
||||||
|
"application/pdf" = "zathura";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user