Add wallpaper to Northstar

This commit is contained in:
Evie Litherland-Smith 2023-06-24 08:58:30 +01:00
parent 7bd7bb6e52
commit 8578fc23c3
2 changed files with 11 additions and 2 deletions

View file

@ -1,7 +1,11 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{pkgs, wallpapers, ...}: { {
pkgs,
wallpapers,
...
}: {
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix

View file

@ -1,4 +1,8 @@
{pkgs, ...}: { {
pkgs,
wallpapers,
...
}: {
imports = [ imports = [
../../home/personal.nix ../../home/personal.nix
../../home/gui/firefox.nix ../../home/gui/firefox.nix
@ -18,6 +22,7 @@
wayland.windowManager.sway = { wayland.windowManager.sway = {
config = { config = {
output."*".bg = "${wallpapers.outputs.default} fill";
input = { input = {
"touch" = {map_to_output = "DSI-1";}; "touch" = {map_to_output = "DSI-1";};
"touchpad" = {click_method = "clickfinger";}; "touchpad" = {click_method = "clickfinger";};