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
SCRIPT_LOCATION=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
sudo rm -rf $SCRIPT_LOCATION/etc-nixos
sudo cp -r /etc/nixos/ $SCRIPT_LOCATION/etc-nixos
rm -rf $SCRIPT_LOCATION/etc-nixos
cp -r /etc/nixos/ $SCRIPT_LOCATION/etc-nixos
sudo rm -rf $SCRIPT_LOCATION/home-manager
sudo cp -r $HOME/.config/home-manager/ $SCRIPT_LOCATION/home-manager
rm -rf $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;
environment.systemPackages = [
pkgs.mate.mate-polkit
pkgs.nwg-displays
pkgs.sway
pkgs.swaybg
pkgs.swaylock
@ -34,6 +33,7 @@ in
pkgs.mesa
pkgs.meslo-lgs-nf
pkgs.libvirt
#pkgs.dotnet-runtime_7
];
# enable opengl

View file

@ -23,6 +23,7 @@
imports = [
./packages.nix
./other.nix
];
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.mint-y-icons
pkgs.pinentry-gtk2
pkgs.pass
pkgs.dotnet-runtime_7
];
}