update flake.nix
This commit is contained in:
parent
76efdb734c
commit
3164b76d64
1 changed files with 24 additions and 15 deletions
39
flake.nix
39
flake.nix
|
@ -8,6 +8,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# hyprland.url = "github:hyprwm/Hyprland";
|
||||||
|
# hyprland-plugins = {
|
||||||
|
# url = "github:hyprwm/hyprland-plugins";
|
||||||
|
# inputs.hyprland.follows = "hyprland";
|
||||||
|
# };
|
||||||
# use the following for unstable:
|
# use the following for unstable:
|
||||||
# nixpkgs.url = "nixpkgs/nixos-unstable";
|
# nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
@ -15,23 +20,27 @@
|
||||||
# nixpkgs.url = "nixpkgs/{BRANCH-NAME}"
|
# nixpkgs.url = "nixpkgs/{BRANCH-NAME}"
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, home-manager, nixpkgs, ... }:
|
outputs = {
|
||||||
let
|
self,
|
||||||
system = "x86_64-linux";
|
home-manager,
|
||||||
lib = nixpkgs.lib;
|
nixpkgs,
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
...
|
||||||
in {
|
}: let
|
||||||
nixosConfigurations = {
|
system = "x86_64-linux";
|
||||||
nmarks = lib.nixosSystem {
|
lib = nixpkgs.lib;
|
||||||
inherit system;
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
modules = [ ./configuration.nix ];
|
in {
|
||||||
|
nixosConfigurations = {
|
||||||
|
nmarks = lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [./configuration.nix];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
nmarks = home-manager.lib.homeManagerConfiguration {
|
nmarks = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ ./home.nix ];
|
modules = [./home.nix];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue