这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged

lol #23

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
nixos-wsl.url = "github:nix-community/NixOS-WSL";
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
nixpkgs.url = "github:marsupialgutz/nixpkgs-nvidia-open";
nixpkgs.url = "github:nixos/nixpkgs";
nixvim.url = "github:pta2002/nixvim";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
nur.url = "github:nix-community/NUR";
Expand Down Expand Up @@ -82,7 +82,6 @@
./sys/nix/configuration.nix
home-manager.nixosModule
hyprland.nixosModules.default
{programs.hyprland.enable = true;}
];
};
wsl = lib.nixosSystem {
Expand Down
2 changes: 2 additions & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ in {
'';
});

hyprland-nvidia = inputs.hyprland.packages.${prev.system}.default.override { inherit (final) wlroots; };

awesome =
(prev.awesome.overrideAttrs (old: {
inherit (sources.awesome) src pname version;
Expand Down
5 changes: 5 additions & 0 deletions sys/nix/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
};
};

programs.hyprland = {
enable = true;
package = pkgs.hyprland-nvidia;
};

environment.loginShellInit = ''
dbus-update-activation-environment --systemd DISPLAY
eval $(ssh-agent)
Expand Down