diff --git a/nur.nix b/nur.nix new file mode 100644 index 0000000..dbfcc7d --- /dev/null +++ b/nur.nix @@ -0,0 +1,6 @@ +{config, ...}: +{ + environment.systemPackages = [ + config.nur.repos.instantos.spotify-adblock + ]; +} diff --git a/scripts/apply-system.sh b/scripts/apply-system.sh new file mode 100755 index 0000000..3e009af --- /dev/null +++ b/scripts/apply-system.sh @@ -0,0 +1,2 @@ +#!/bin/sh +sudo nixos-rebuild switch --flake /etc/nixos/# diff --git a/scripts/apply-users.sh b/scripts/apply-users.sh new file mode 100755 index 0000000..d5125a5 --- /dev/null +++ b/scripts/apply-users.sh @@ -0,0 +1,5 @@ +#!/bin/sh +cd /etc/nixos/scripts +nix build /etc/nixos/#homeManagerConfiguration.gerg.activationPackage +/etc/nixos/scripts/result/activate +rm -rf /etc/nixos/scripts/result diff --git a/scripts/clean.sh b/scripts/clean.sh new file mode 100755 index 0000000..42f4a60 --- /dev/null +++ b/scripts/clean.sh @@ -0,0 +1,3 @@ +#!/bin/sh +nix-collect-garbage -d +nix-store --gc diff --git a/scripts/update-system.sh b/scripts/update-system.sh new file mode 100755 index 0000000..efc3f93 --- /dev/null +++ b/scripts/update-system.sh @@ -0,0 +1,2 @@ +#!/bin/sh +nix flake update /etc/nixos/#