move output configuration out of general sway config, change wallpaper
This commit is contained in:
parent
7e02ec035f
commit
e5a3deb9ec
6 changed files with 36 additions and 17 deletions
13
flake.lock
generated
13
flake.lock
generated
|
@ -908,6 +908,7 @@
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"stylix": "stylix",
|
"stylix": "stylix",
|
||||||
"vpn-confinement": "vpn-confinement",
|
"vpn-confinement": "vpn-confinement",
|
||||||
|
"wallpaper": "wallpaper",
|
||||||
"wayland-appusage": "wayland-appusage"
|
"wayland-appusage": "wayland-appusage"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1196,6 +1197,18 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"wallpaper": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"narHash": "sha256-Ka69DKAY7BAFSpKGkfuaPpeU2ghfeh5RXOP+RJ9NxSA=",
|
||||||
|
"type": "file",
|
||||||
|
"url": "https://cdn.donmai.us/original/9e/ee/__kasane_teto_and_kasane_teto_utau_drawn_by_xi_wu__9eee30303152b9320922a63e685cc073.jpg"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "file",
|
||||||
|
"url": "https://cdn.donmai.us/original/9e/ee/__kasane_teto_and_kasane_teto_utau_drawn_by_xi_wu__9eee30303152b9320922a63e685cc073.jpg"
|
||||||
|
}
|
||||||
|
},
|
||||||
"wayland-appusage": {
|
"wayland-appusage": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
|
|
|
@ -69,5 +69,10 @@
|
||||||
|
|
||||||
wayland-appusage.url = "github:xunuwu/wayland-appusage";
|
wayland-appusage.url = "github:xunuwu/wayland-appusage";
|
||||||
wayland-appusage.inputs.nixpkgs.follows = "nixpkgs";
|
wayland-appusage.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
wallpaper = {
|
||||||
|
url = "https://cdn.donmai.us/original/9e/ee/__kasane_teto_and_kasane_teto_utau_drawn_by_xi_wu__9eee30303152b9320922a63e685cc073.jpg";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,19 +60,6 @@
|
||||||
'';
|
'';
|
||||||
config = {
|
config = {
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
output = {
|
|
||||||
"DP-3" = {
|
|
||||||
mode = "1920x1080@165Hz";
|
|
||||||
position = "1920 0";
|
|
||||||
allow_tearing = "yes";
|
|
||||||
};
|
|
||||||
"HDMI-A-1" = {
|
|
||||||
position = "0 0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# output = {
|
|
||||||
# "*".bg = "${config.xdg.userDirs.pictures}/wallpaper fill";
|
|
||||||
# };
|
|
||||||
input."type:keyboard".xkb_layout = osConfig.services.xserver.xkb.layout;
|
input."type:keyboard".xkb_layout = osConfig.services.xserver.xkb.layout;
|
||||||
bars = []; # i use waybar instead
|
bars = []; # i use waybar instead
|
||||||
window = {
|
window = {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
}: {
|
}: {
|
||||||
imports = with homeProfiles; [
|
imports = with homeProfiles; [
|
||||||
./defaults.nix
|
./defaults.nix
|
||||||
|
./outputs.nix
|
||||||
|
|
||||||
secrets.default
|
secrets.default
|
||||||
|
|
||||||
|
|
13
home/suites/nixdesk/outputs.nix
Normal file
13
home/suites/nixdesk/outputs.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{inputs, ...}: {
|
||||||
|
wayland.windowManager.sway.config.output = {
|
||||||
|
"DP-3" = {
|
||||||
|
mode = "1920x1080@165Hz";
|
||||||
|
position = "1920 0";
|
||||||
|
# allow_tearing = "yes";
|
||||||
|
bg = "${inputs.wallpaper.outPath} fill";
|
||||||
|
};
|
||||||
|
"HDMI-A-1" = {
|
||||||
|
position = "0 0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -7,10 +7,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/mountain.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/mountain.yaml";
|
||||||
image = pkgs.fetchurl {
|
# image = pkgs.fetchurl {
|
||||||
url = "https://imgur.com/2HATcuP.png";
|
# url = "https://imgur.com/2HATcuP.png";
|
||||||
hash = "sha256-YsSg1nreefSD/Ij44ZrWMkdk6+rJ2YozcFXvCM/EZNM=";
|
# hash = "sha256-YsSg1nreefSD/Ij44ZrWMkdk6+rJ2YozcFXvCM/EZNM=";
|
||||||
};
|
# };
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
cursor = {
|
cursor = {
|
||||||
package = pkgs.apple-cursor;
|
package = pkgs.apple-cursor;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue