mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 22:31:53 -05: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": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix",
|
||||||
|
"wallpapers": "wallpapers"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
|
@ -698,6 +699,22 @@
|
||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"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",
|
"root": "root",
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
url = "github:danth/stylix";
|
url = "github:danth/stylix";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wallpapers = {
|
||||||
|
url = "github:alyraffauf/wallpapers";
|
||||||
|
flake = false; # This is important to specify that it's a non-flake
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
|
@ -89,7 +94,6 @@
|
||||||
nh
|
nh
|
||||||
ruby
|
ruby
|
||||||
sbctl
|
sbctl
|
||||||
update-nix-fetchgit
|
|
||||||
])
|
])
|
||||||
++ [
|
++ [
|
||||||
self.formatter.${pkgs.system}
|
self.formatter.${pkgs.system}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
osConfig,
|
osConfig,
|
||||||
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -43,11 +44,7 @@
|
||||||
) "file://${config.home.homeDirectory}/sync";
|
) "file://${config.home.homeDirectory}/sync";
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
dataFile."backgrounds".source = builtins.fetchGit {
|
dataFile."backgrounds".source = self.inputs.wallpapers;
|
||||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
|
||||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
|
||||||
ref = "master";
|
|
||||||
};
|
|
||||||
|
|
||||||
userDirs = {
|
userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/default-dark.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/default-dark.yaml";
|
||||||
|
image = "${self.inputs.wallpapers}/wallhaven-6d66dl.jpg";
|
||||||
image = let
|
|
||||||
wallpapers = builtins.fetchGit {
|
|
||||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
|
||||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
|
||||||
ref = "master";
|
|
||||||
};
|
|
||||||
in "${wallpapers}/wallhaven-6d66dl.jpg";
|
|
||||||
|
|
||||||
imageScalingMode = "fill";
|
imageScalingMode = "fill";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
|
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
|
||||||
image = let
|
|
||||||
wallpapers = builtins.fetchGit {
|
|
||||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
|
||||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
|
||||||
ref = "master";
|
|
||||||
};
|
|
||||||
in "${wallpapers}/wallhaven-mp886k.jpg";
|
|
||||||
|
|
||||||
imageScalingMode = "fill";
|
imageScalingMode = "fill";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
|
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
|
||||||
image = let
|
|
||||||
wallpapers = builtins.fetchGit {
|
|
||||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
|
||||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
|
||||||
ref = "master";
|
|
||||||
};
|
|
||||||
in "${wallpapers}/wallhaven-mp886k.jpg";
|
|
||||||
|
|
||||||
imageScalingMode = "fill";
|
imageScalingMode = "fill";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
|
image = "${self.inputs.wallpapers}/wallhaven-jxp18w.jpg";
|
||||||
image = let
|
|
||||||
wallpapers = builtins.fetchGit {
|
|
||||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
|
||||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
|
||||||
ref = "master";
|
|
||||||
};
|
|
||||||
in "${wallpapers}/wallhaven-jxp18w.jpg";
|
|
||||||
|
|
||||||
imageScalingMode = "fill";
|
imageScalingMode = "fill";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-hard.yaml";
|
||||||
|
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
|
||||||
image = let
|
|
||||||
wallpapers = builtins.fetchGit {
|
|
||||||
url = "https://github.com/alyraffauf/wallpapers.git";
|
|
||||||
rev = "c7d61966e339dd7efdda5ff176b91778086ccb73";
|
|
||||||
ref = "master";
|
|
||||||
};
|
|
||||||
in "${wallpapers}/wallhaven-mp886k.jpg";
|
|
||||||
|
|
||||||
imageScalingMode = "fill";
|
imageScalingMode = "fill";
|
||||||
polarity = "light";
|
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