Add XDG management and grimblast

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-04-16 23:25:52 -04:00 committed by Alice Huston
parent 91cd0d51c1
commit 0b28ac1202
4 changed files with 44 additions and 2 deletions

21
flake.lock generated
View File

@ -158,6 +158,26 @@
"type": "github"
}
},
"hyprland-contrib": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1712505318,
"narHash": "sha256-fzlBLhXUN6y7mzEtcGNRDXxFakBEfaj4Bmj5PuoCNaM=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "5870244b592c22558b658dbaf94f9e41afb0316f",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "contrib",
"type": "github"
}
},
"libgit2": {
"flake": false,
"locked": {
@ -383,6 +403,7 @@
"fenix": "fenix",
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"hyprland-contrib": "hyprland-contrib",
"nix": "nix",
"nix-index-database": "nix-index-database",
"nix-pre-commit": "nix-pre-commit",

View File

@ -107,6 +107,11 @@
flake-utils.follows = "flake-utils";
};
};
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =

View File

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
imports = [
@ -122,5 +122,16 @@
EDITOR = "nvim";
};
xdg = {
enable = true;
userDirs = {
enable = true;
createDirectories = true;
extraConfig = {
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
};
};
};
home.stateVersion = "23.11";
}

View File

@ -11,6 +11,11 @@
# extensions = [ "rust-src" "miri" "rust-analyzer" ];
# }) ];
#})
{ environment.systemPackages = [ inputs.wired-notify.packages.x86_64-linux.default ]; }
{
environment.systemPackages = [
inputs.wired-notify.packages.x86_64-linux.default
inputs.hyprland-contrib.packages.x86_64-linux.grimblast
];
}
];
}