working on meli, bunch of stuff

This commit is contained in:
nx2
2024-03-17 12:46:31 +01:00
parent 774e8f08ae
commit 23cc6752ab
21 changed files with 1066 additions and 162 deletions

View File

@@ -3,18 +3,21 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, ... }:
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
user = "nx2";
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
allowed = {
unfree-packages = [
"spotify"
"discord"
"obsidian"
"zoom-us"
];
@@ -39,9 +42,9 @@
nx2 = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];
extraSpecialArgs = {inherit system user allowed secrets;};
extraSpecialArgs = {inherit system user allowed secrets pkgs-unstable;};
};
};
};
}
}