feat: use assets from an external repository
This commit is contained in:
17
flake.lock
generated
17
flake.lock
generated
@@ -1,5 +1,21 @@
|
||||
{
|
||||
"nodes": {
|
||||
"assets": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1771625274,
|
||||
"narHash": "sha256-2wWMWsPnIweJWiojeTXdnsTsKzU9R4igc6p50rEAkpk=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "7eceaa56b64490ef15ce651e2376eae553d1d50a",
|
||||
"revCount": 1,
|
||||
"type": "git",
|
||||
"url": "https://git.janezic.dev/janezicmatej/assets.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.janezic.dev/janezicmatej/assets.git"
|
||||
}
|
||||
},
|
||||
"base16": {
|
||||
"inputs": {
|
||||
"fromYaml": "fromYaml"
|
||||
@@ -463,6 +479,7 @@
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"assets": "assets",
|
||||
"flake-utils": "flake-utils",
|
||||
"home-manager": "home-manager",
|
||||
"lanzaboote": "lanzaboote",
|
||||
|
||||
@@ -40,6 +40,11 @@
|
||||
url = "github:nix-community/lanzaboote/v1.0.0";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
assets = {
|
||||
url = "git+https://git.janezic.dev/janezicmatej/assets.git";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
||||
@@ -32,7 +32,7 @@ in
|
||||
stylix = {
|
||||
enable = true;
|
||||
polarity = "dark";
|
||||
image = "${inputs.self}/assets/wallpaper.png";
|
||||
image = "${inputs.assets}/wallpaper.png";
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-medium.yaml";
|
||||
};
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ in
|
||||
stylix = {
|
||||
enable = true;
|
||||
polarity = "dark";
|
||||
image = "${inputs.self}/assets/wallpaper.png";
|
||||
image = "${inputs.assets}/wallpaper.png";
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-medium.yaml";
|
||||
};
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ in
|
||||
pkgs.google-cloud-sql-proxy
|
||||
];
|
||||
|
||||
home.file.".assets".source = "${inputs.self}/assets";
|
||||
home.file.".assets".source = inputs.assets;
|
||||
|
||||
stylix.targets.neovim.enable = false;
|
||||
programs.neovim = {
|
||||
|
||||
Reference in New Issue
Block a user