realized I was inheriting nipkgs in my nixosSystems

added ways to use different branches of nixpkgs
made unfree packages have to specified
switched to nix master branch
moved sxhkd from a seperate flake
switched spotify and maim versions because both are broken on nixos-unstable right now
moved afk-cmds from local to remote
added flake-utils for easier devShell decleration
switched my mom's laptop to stable branch
This commit is contained in:
Gerg-L 2023-02-13 20:30:06 -05:00
parent 0132cde3f7
commit dc2db4a9bc
45 changed files with 449 additions and 1878 deletions

View file

@ -1,14 +1,19 @@
{
pkgs,
inputs,
spicetify-nix,
master,
...
}: let
sp-nix = inputs.spicetify-nix;
}: {pkgs, ...}: let
sp-nix = spicetify-nix;
spicePkgs = sp-nix.packages.${pkgs.system}.default;
unfree = import master {
inherit (pkgs) system;
config.allowUnfree = true;
};
in {
nixpkgs.allowedUnfree = ["spotify"];
imports = [sp-nix.nixosModule];
programs.spicetify = {
spotifyPackage = pkgs.spotify-unwrapped;
spotifyPackage = unfree.spotify-unwrapped;
spicetifyPackage = pkgs.spicetify-cli;
enable = true;
enabledExtensions = with spicePkgs.extensions; [