Update nix files; un-sudo backup.sh

This commit is contained in:
askiiart 2023-12-30 11:55:10 -06:00
parent c3e17eae8c
commit a93c6c3e39
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
5 changed files with 15 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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
View file

@ -0,0 +1,7 @@
{config, pkgs, ... }:
{
home.sessionVariables = {
DOTNET_ROOT = "${pkgs.dotnet-runtime_7}";
};
}

View file

@ -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
]; ];
} }