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 @@...@@ -8,6 +8,11 @@
8 inputs.nixpkgs.follows = "nixpkgs";8 inputs.nixpkgs.follows = "nixpkgs";
9 };9 };
1010
11 # hyprland.url = "github:hyprwm/Hyprland";
12 # hyprland-plugins = {
13 # url = "github:hyprwm/hyprland-plugins";
14 # inputs.hyprland.follows = "hyprland";
15 # };
11 # use the following for unstable:16 # use the following for unstable:
12 # nixpkgs.url = "nixpkgs/nixos-unstable";17 # nixpkgs.url = "nixpkgs/nixos-unstable";
1318
...@@ -15,23 +20,27 @@...@@ -15,23 +20,27 @@
15 # nixpkgs.url = "nixpkgs/{BRANCH-NAME}"20 # nixpkgs.url = "nixpkgs/{BRANCH-NAME}"
16 };21 };
1722
18 outputs = { self, home-manager, nixpkgs, ... }:23 outputs = {
19 let24 self,
20 system = "x86_64-linux";25 home-manager,
21 lib = nixpkgs.lib;26 nixpkgs,
22 pkgs = nixpkgs.legacyPackages.${system};27 ...
23 in {28 }: let
24 nixosConfigurations = {29 system = "x86_64-linux";
25 nmarks = lib.nixosSystem {30 lib = nixpkgs.lib;
26 inherit system;31 pkgs = nixpkgs.legacyPackages.${system};
27 modules = [ ./configuration.nix ];32 in {
33 nixosConfigurations = {
34 nmarks = lib.nixosSystem {
35 inherit system;
36 modules = [./configuration.nix];
28 };37 };
29 };38 };
30 homeConfigurations = {39 homeConfigurations = {
31 nmarks = home-manager.lib.homeManagerConfiguration {40 nmarks = home-manager.lib.homeManagerConfiguration {
32 inherit pkgs;41 inherit pkgs;
33 modules = [ ./home.nix ];42 modules = [./home.nix];
34 };
35 };43 };
44 };
36 };45 };
37}46}