1
0
forked from extern/nix-config

Add grimblast through flake

This commit is contained in:
Donovan Glover 2023-05-19 05:40:10 -04:00
parent 7b6add8431
commit 436d1543df
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 33 additions and 1 deletions

View File

@ -58,6 +58,26 @@
"type": "github"
}
},
"hypr-contrib": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1684479483,
"narHash": "sha256-NCkOkgR7PtkAQmYgeYd6vOzkulQjxlf+vWGUmrQu4uw=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "805bedf51a2f75a2279b6fc75b3066ff21f235ee",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "contrib",
"type": "github"
}
},
"hyprland": {
"inputs": {
"hyprland-protocols": "hyprland-protocols",
@ -121,6 +141,7 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"hypr-contrib": "hypr-contrib",
"hyprland": "hyprland",
"nixpkgs": "nixpkgs",
"stylix": "stylix"

View File

@ -19,9 +19,16 @@
home-manager.follows = "home-manager";
};
};
hypr-contrib = {
url = "github:hyprwm/contrib";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
};
outputs = { self, nixpkgs, home-manager, hyprland, stylix, ... }@attrs: {
outputs = { self, nixpkgs, home-manager, hyprland, stylix, hypr-contrib, ... }@attrs: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
@ -40,6 +47,10 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
environment.systemPackages = [
hypr-contrib.packages."x86_64-linux".grimblast
];
environment.sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";