Update nix files; un-sudo backup.sh
This commit is contained in:
parent
c3e17eae8c
commit
a93c6c3e39
5 changed files with 15 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
SCRIPT_LOCATION=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
SCRIPT_LOCATION=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||||
|
|
||||||
sudo rm -rf $SCRIPT_LOCATION/etc-nixos
|
rm -rf $SCRIPT_LOCATION/etc-nixos
|
||||||
sudo cp -r /etc/nixos/ $SCRIPT_LOCATION/etc-nixos
|
cp -r /etc/nixos/ $SCRIPT_LOCATION/etc-nixos
|
||||||
|
|
||||||
sudo rm -rf $SCRIPT_LOCATION/home-manager
|
rm -rf $SCRIPT_LOCATION/home-manager
|
||||||
sudo cp -r $HOME/.config/home-manager/ $SCRIPT_LOCATION/home-manager
|
cp -r $HOME/.config/home-manager/ $SCRIPT_LOCATION/home-manager
|
||||||
|
|
|
@ -16,7 +16,6 @@ in
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.mate.mate-polkit
|
pkgs.mate.mate-polkit
|
||||||
pkgs.nwg-displays
|
|
||||||
pkgs.sway
|
pkgs.sway
|
||||||
pkgs.swaybg
|
pkgs.swaybg
|
||||||
pkgs.swaylock
|
pkgs.swaylock
|
||||||
|
@ -34,6 +33,7 @@ in
|
||||||
pkgs.mesa
|
pkgs.mesa
|
||||||
pkgs.meslo-lgs-nf
|
pkgs.meslo-lgs-nf
|
||||||
pkgs.libvirt
|
pkgs.libvirt
|
||||||
|
#pkgs.dotnet-runtime_7
|
||||||
];
|
];
|
||||||
|
|
||||||
# enable opengl
|
# enable opengl
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
./other.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
7
home-manager/other.nix
Normal file
7
home-manager/other.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.sessionVariables = {
|
||||||
|
DOTNET_ROOT = "${pkgs.dotnet-runtime_7}";
|
||||||
|
};
|
||||||
|
}
|
|
@ -21,5 +21,7 @@
|
||||||
pkgs.cinnamon.nemo-with-extensions
|
pkgs.cinnamon.nemo-with-extensions
|
||||||
pkgs.cinnamon.mint-y-icons
|
pkgs.cinnamon.mint-y-icons
|
||||||
pkgs.pinentry-gtk2
|
pkgs.pinentry-gtk2
|
||||||
|
pkgs.pass
|
||||||
|
pkgs.dotnet-runtime_7
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue