diff --git a/flake.lock b/flake.lock index 255b0c0..5c7395b 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,55 @@ { "nodes": { + "base16": { + "inputs": { + "fromYaml": "fromYaml" + }, + "locked": { + "lastModified": 1689633990, + "narHash": "sha256-iwvQg2Vx0IIDWZaKo8Xmzxlv1YPHg+Kp/QSv8dRv0RY=", + "owner": "SenchoPens", + "repo": "base16.nix", + "rev": "dddf2e1c04845d43c89a8e9e37d574519649a404", + "type": "github" + }, + "original": { + "owner": "SenchoPens", + "repo": "base16.nix", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "fromYaml": { + "flake": false, + "locked": { + "lastModified": 1689549921, + "narHash": "sha256-iX0pk/uB019TdBGlaJEWvBCfydT6sRq+eDcGPifVsCM=", + "owner": "SenchoPens", + "repo": "fromYaml", + "rev": "11fbbbfb32e3289d3c631e0134a23854e7865c84", + "type": "github" + }, + "original": { + "owner": "SenchoPens", + "repo": "fromYaml", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -89,7 +139,33 @@ "inputs": { "home-manager": "home-manager", "hyprland": "hyprland", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "stylix": "stylix" + } + }, + "stylix": { + "inputs": { + "base16": "base16", + "flake-compat": "flake-compat", + "home-manager": [ + "home-manager" + ], + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1691942466, + "narHash": "sha256-bK6FFbsKtyLKJLwgHerWp/EMMoWqE0UJk0KEbgYICbY=", + "owner": "danth", + "repo": "stylix", + "rev": "beb35709c9a769a5f279d3177af778a15dcbda46", + "type": "github" + }, + "original": { + "owner": "danth", + "repo": "stylix", + "type": "github" } }, "systems": { diff --git a/flake.nix b/flake.nix index aeccc4b..7d25973 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,14 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + stylix = { + url = "github:danth/stylix"; + inputs = { + nixpkgs.follows = "nixpkgs"; + home-manager.follows = "home-manager"; + }; + }; + hyprland = { url = "github:hyprwm/hyprland"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/modules/hyprland.nix b/modules/hyprland.nix index ffd2bc9..38428e1 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -1,14 +1,12 @@ -{ pkgs, ... }: +{ pkgs, inputs, ... }: { - programs.hyprland.enable = true; + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; services.udisks2 = { enable = true; mountOnMedia = true; }; - - services.xserver = { - enable = true; - excludePackages = [ pkgs.xterm ]; - }; } diff --git a/result b/result deleted file mode 120000 index 0298516..0000000 --- a/result +++ /dev/null @@ -1 +0,0 @@ -/nix/store/3m91m7fqsmssfh82dblh3qz868x53f87-nixos-system-nixos-23.11.20230819.d680ded \ No newline at end of file