authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-01-29 01:53:47-08:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-01-29 01:53:47-08:00
log3164b76d64301589f6bee15fa27d2535db2af724
treea45d19b98c34c927b8e825887f33ccc8a0445260
parent76efdb734cc21e790164f2f5720e2f7bc8b0df5b

update flake.nix


1 files changed, 24 insertions(+), 15 deletions(-)

flake.nix+24-15
......@@ -8,6 +8,11 @@
88 inputs.nixpkgs.follows = "nixpkgs";
99 };
1010
11 # hyprland.url = "github:hyprwm/Hyprland";
12 # hyprland-plugins = {
13 # url = "github:hyprwm/hyprland-plugins";
14 # inputs.hyprland.follows = "hyprland";
15 # };
1116 # use the following for unstable:
1217 # nixpkgs.url = "nixpkgs/nixos-unstable";
1318
......@@ -15,23 +20,27 @@
1520 # nixpkgs.url = "nixpkgs/{BRANCH-NAME}"
1621 };
1722
18 outputs = { self, home-manager, nixpkgs, ... }:
19 let
20 system = "x86_64-linux";
21 lib = nixpkgs.lib;
22 pkgs = nixpkgs.legacyPackages.${system};
23 in {
24 nixosConfigurations = {
25 nmarks = lib.nixosSystem {
26 inherit system;
27 modules = [ ./configuration.nix ];
23 outputs = {
24 self,
25 home-manager,
26 nixpkgs,
27 ...
28 }: let
29 system = "x86_64-linux";
30 lib = nixpkgs.lib;
31 pkgs = nixpkgs.legacyPackages.${system};
32 in {
33 nixosConfigurations = {
34 nmarks = lib.nixosSystem {
35 inherit system;
36 modules = [./configuration.nix];
2837 };
2938 };
30 homeConfigurations = {
31 nmarks = home-manager.lib.homeManagerConfiguration {
32 inherit pkgs;
33 modules = [ ./home.nix ];
34 };
39 homeConfigurations = {
40 nmarks = home-manager.lib.homeManagerConfiguration {
41 inherit pkgs;
42 modules = [./home.nix];
3543 };
44 };
3645 };
3746}