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";
|
||||
|
||||
home-manager.users.thiloho = { ... }: {
|
||||
wayland.windowManager.sway.config.output = {
|
||||
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
||||
wayland.windowManager.sway.config.output = let
|
||||
wallpaper = pkgs.fetchurl {
|
||||
url = "https://imgur.com/aAWzGqj.jpg";
|
||||
hash = "sha256-iTQS939Zrvjv4rBJ6Y41kdsBBN9lT5yAoJnNg/WiMoA=";
|
||||
};
|
||||
in {
|
||||
DP-1 = {
|
||||
bg = "/home/thiloho/background.jpg fill";
|
||||
bg = "${wallpaper} fill";
|
||||
res = "1920x1080@144.000Hz";
|
||||
};
|
||||
DP-2 = {
|
||||
bg = "/home/thiloho/background.jpg fill";
|
||||
bg = "${wallpaper} fill";
|
||||
res = "1920x1080@144.000Hz";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
@@ -181,7 +179,7 @@
|
||||
alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
window.opacity = 0.9;
|
||||
window.opacity = 0.75;
|
||||
font = {
|
||||
normal = {
|
||||
family = "JetBrainsMono";
|
||||
@@ -232,7 +230,6 @@
|
||||
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
stateVersion = "22.11";
|
||||
packages = with pkgs; [
|
||||
zoom-us
|
||||
libreoffice
|
||||
airshipper
|
||||
prismlauncher
|
||||
|
||||
Reference in New Issue
Block a user