This commit is contained in:
Matt Nish-Lapidus 2024-09-30 00:55:41 -04:00
parent 26e096f020
commit 6527333226
3 changed files with 23 additions and 83 deletions

View file

@ -13,8 +13,6 @@
nix-flatpak.url = "github:gmodena/nix-flatpak"; # unstable branch. Use github:gmodena/nix-flatpak/?ref=<tag> to pin releases.
affinity-nix.url = "github:mrshmllow/affinity-nix";
kmonad = {
url = "git+https://github.com/kmonad/kmonad?submodules=1&dir=nix";
inputs.nixpkgs.follows = "nixpkgs";
@ -26,7 +24,7 @@
};
};
outputs = inputs @ {self, nixpkgs, nixpkgs-stable, home-manager, nix-flatpak, kmonad, musnix, affinity-nix, ... }: {
outputs = inputs @ {self, nixpkgs, nixpkgs-stable, home-manager, nix-flatpak, kmonad, musnix, ... }: {
nixosConfigurations = {
eddie = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -41,9 +39,21 @@
homeConfigurations = {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
"emenel" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
# pkgs = import nixpkgs {
# system = "x86_64-linux"; # whatever your system name is
# config = {
# allowUnfree = true;
# allowUnfreePredicate = _: true;
# };
# };
extraSpecialArgs = { inherit inputs; };
modules = [