mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
Use fetchurl for background
This commit is contained in:
@@ -8,14 +8,19 @@
|
|||||||
|
|
||||||
networking.hostName = "pc";
|
networking.hostName = "pc";
|
||||||
|
|
||||||
home-manager.users.thiloho = { ... }: {
|
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
||||||
wayland.windowManager.sway.config.output = {
|
wayland.windowManager.sway.config.output = let
|
||||||
|
wallpaper = pkgs.fetchurl {
|
||||||
|
url = "https://imgur.com/aAWzGqj.jpg";
|
||||||
|
hash = "sha256-iTQS939Zrvjv4rBJ6Y41kdsBBN9lT5yAoJnNg/WiMoA=";
|
||||||
|
};
|
||||||
|
in {
|
||||||
DP-1 = {
|
DP-1 = {
|
||||||
bg = "/home/thiloho/background.jpg fill";
|
bg = "${wallpaper} fill";
|
||||||
res = "1920x1080@144.000Hz";
|
res = "1920x1080@144.000Hz";
|
||||||
};
|
};
|
||||||
DP-2 = {
|
DP-2 = {
|
||||||
bg = "/home/thiloho/background.jpg fill";
|
bg = "${wallpaper} fill";
|
||||||
res = "1920x1080@144.000Hz";
|
res = "1920x1080@144.000Hz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,8 +4,6 @@
|
|||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
time.timeZone = "Europe/Amsterdam";
|
time.timeZone = "Europe/Amsterdam";
|
||||||
@@ -181,7 +179,7 @@
|
|||||||
alacritty = {
|
alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
window.opacity = 0.9;
|
window.opacity = 0.75;
|
||||||
font = {
|
font = {
|
||||||
normal = {
|
normal = {
|
||||||
family = "JetBrainsMono";
|
family = "JetBrainsMono";
|
||||||
@@ -232,7 +230,6 @@
|
|||||||
sessionVariables.NIXOS_OZONE_WL = "1";
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
stateVersion = "22.11";
|
stateVersion = "22.11";
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
zoom-us
|
|
||||||
libreoffice
|
libreoffice
|
||||||
airshipper
|
airshipper
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
|||||||
Reference in New Issue
Block a user