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