feat: update wallpaper and references to image
This commit is contained in:
parent
33edc82a6b
commit
74635a6c6d
4 changed files with 19 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
||||||
# Type definitions for nix variables used in this configuration
|
# Type definitions for nix variables used in this configuration
|
||||||
options = with lib;
|
options = with lib;
|
||||||
with types; {
|
with types; {
|
||||||
|
myWallPaperPath = mkOption {type = path;};
|
||||||
myUserName = mkOption {type = str;};
|
myUserName = mkOption {type = str;};
|
||||||
myHostName = mkOption {type = str;};
|
myHostName = mkOption {type = str;};
|
||||||
myWallPaperPathString = mkOption {type = str;};
|
myWallPaperPathString = mkOption {type = str;};
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
# Default values for this configuration
|
# Default values for this configuration
|
||||||
config = rec {
|
config = rec {
|
||||||
myUserName = "stvnliu";
|
myUserName = "stvnliu";
|
||||||
|
myWallPaperPath = ../home-manager/${myUserName}/assets/road-wallpaper.jpg;
|
||||||
myHostName = "nixos-msi";
|
myHostName = "nixos-msi";
|
||||||
displayScale = 2;
|
displayScale = 2;
|
||||||
myWallPaperPathString = "/home/${myUserName}/wallpaper.jpg";
|
myWallPaperPathString = "/home/${myUserName}/wallpaper.jpg";
|
||||||
|
|
BIN
home-manager/stvnliu/assets/road-wallpaper.jpg
Normal file
BIN
home-manager/stvnliu/assets/road-wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 MiB |
|
@ -44,7 +44,7 @@
|
||||||
username = "${config.myUserName}";
|
username = "${config.myUserName}";
|
||||||
homeDirectory = "/home/${config.myUserName}";
|
homeDirectory = "/home/${config.myUserName}";
|
||||||
# copy wallpaper from assets
|
# copy wallpaper from assets
|
||||||
file = {"wallpaper.jpg".source = ./assets/nixos-wallpaper.jpg;};
|
file = {"wallpaper.jpg".source = config.myWallPaperPath;};
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
|
|
@ -1,8 +1,15 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
globalOpacity = 0.8;
|
||||||
|
in {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
|
autoEnable = true;
|
||||||
image = ./assets/nixos-wallpaper.jpg;
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-medium.yaml";
|
||||||
|
image = config.myWallPaperPath;
|
||||||
fonts = {
|
fonts = {
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
name = "Aileron";
|
name = "Aileron";
|
||||||
|
@ -13,5 +20,11 @@
|
||||||
package = pkgs.nerdfonts.override {fonts = ["IBMPlexMono"];};
|
package = pkgs.nerdfonts.override {fonts = ["IBMPlexMono"];};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
opacity = {
|
||||||
|
applications = globalOpacity;
|
||||||
|
desktop = globalOpacity;
|
||||||
|
popups = globalOpacity;
|
||||||
|
terminal = globalOpacity;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue