mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-10-09 11:11:49 -04:00
flake: add wallpapers repo as input, replace fetchGit calls
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
eeaa300211
commit
9bdfcf8d74
19
flake.lock
19
flake.lock
|
@ -579,7 +579,8 @@
|
|||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"nur": "nur",
|
||||
"stylix": "stylix"
|
||||
"stylix": "stylix",
|
||||
"wallpapers": "wallpapers"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
|
@ -698,6 +699,22 @@
|
|||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"wallpapers": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1725258570,
|
||||
"narHash": "sha256-0do/7t7rVSYor+3M48n6nSAq56DyKCPPRn4wDcLRMQk=",
|
||||
"owner": "alyraffauf",
|
||||
"repo": "wallpapers",
|
||||
"rev": "a02d94f99498c93d4ee9144c4e843470024f2bc9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "alyraffauf",
|
||||
"repo": "wallpapers",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
url = "github:danth/stylix";
|
||||
};
|
||||
|
||||
wallpapers = {
|
||||
url = "github:alyraffauf/wallpapers";
|
||||
flake = false; # This is important to specify that it's a non-flake
|
||||
};
|
||||
};
|
||||
|
||||
nixConfig = {
|
||||
|
@ -89,7 +94,6 @@
|
|||
nh
|
||||
ruby
|
||||
sbctl
|
||||
update-nix-fetchgit
|
||||
])
|
||||
++ [
|
||||
self.formatter.${pkgs.system}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
lib,
|
||||
osConfig,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
|
@ -43,11 +44,7 @@
|
|||
) "file://${config.home.homeDirectory}/sync";
|
||||
|
||||
xdg = {
|
||||
dataFile."backgrounds".source = builtins.fetchGit {
|
||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
||||
ref = "master";
|
||||
};
|
||||
dataFile."backgrounds".source = self.inputs.wallpapers;
|
||||
|
||||
userDirs = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/default-dark.yaml";
|
||||
|
||||
image = let
|
||||
wallpapers = builtins.fetchGit {
|
||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
||||
ref = "master";
|
||||
};
|
||||
in "${wallpapers}/wallhaven-6d66dl.jpg";
|
||||
|
||||
image = "${self.inputs.wallpapers}/wallhaven-6d66dl.jpg";
|
||||
imageScalingMode = "fill";
|
||||
polarity = "dark";
|
||||
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
|
||||
image = let
|
||||
wallpapers = builtins.fetchGit {
|
||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
||||
ref = "master";
|
||||
};
|
||||
in "${wallpapers}/wallhaven-mp886k.jpg";
|
||||
|
||||
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
|
||||
imageScalingMode = "fill";
|
||||
polarity = "dark";
|
||||
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
|
||||
image = let
|
||||
wallpapers = builtins.fetchGit {
|
||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
||||
ref = "master";
|
||||
};
|
||||
in "${wallpapers}/wallhaven-mp886k.jpg";
|
||||
|
||||
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
|
||||
imageScalingMode = "fill";
|
||||
polarity = "dark";
|
||||
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
|
||||
image = let
|
||||
wallpapers = builtins.fetchGit {
|
||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
||||
ref = "master";
|
||||
};
|
||||
in "${wallpapers}/wallhaven-jxp18w.jpg";
|
||||
|
||||
image = "${self.inputs.wallpapers}/wallhaven-jxp18w.jpg";
|
||||
imageScalingMode = "fill";
|
||||
polarity = "dark";
|
||||
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-hard.yaml";
|
||||
|
||||
image = let
|
||||
wallpapers = builtins.fetchGit {
|
||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
||||
ref = "master";
|
||||
};
|
||||
in "${wallpapers}/wallhaven-mp886k.jpg";
|
||||
|
||||
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
|
||||
imageScalingMode = "fill";
|
||||
polarity = "light";
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
nix run nixpkgs#update-nix-fetchgit -- homeManagerModules/desktop/default.nix hosts/fallarbor/stylix.nix hosts/lavaridge/stylix.nix hosts/mauville/stylix.nix hosts/petalburg/stylix.nix hosts/rustboro/stylix.nix
|
Loading…
Reference in a new issue