Nix #2
4 changed files with 35 additions and 21 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{config, ...}:{
|
||||
{ config, ... }: {
|
||||
imports = [
|
||||
../../modules/ironbar_config.nix
|
||||
../../modules/hyprpaper_config.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings.monitor = [
|
||||
# default
|
||||
|
|
@ -30,5 +31,17 @@
|
|||
# monitor right
|
||||
"3,monitor:HDMI-A-1, default:true"
|
||||
];
|
||||
programs.monitor = "DP-1";
|
||||
programs.ironbar.monitor = "DP-1";
|
||||
programs.hyprland.hyprpaper = ''
|
||||
#load
|
||||
preload = /home/dashie/Pictures/backgrounds/shinobu_2k.jpg
|
||||
preload = /home/dashie/Pictures/backgrounds/shino_wide.png
|
||||
preload = /home/dashie/Pictures/backgrounds/shinobu_1200.jpg
|
||||
|
||||
#set
|
||||
wallpaper = DP-2,/home/dashie/Pictures/backgrounds/shinobu_2k.jpg
|
||||
wallpaper = DP-1,/home/dashie/Pictures/backgrounds/shino_wide.png
|
||||
wallpaper = HDMI-A-1,/home/dashie/Pictures/backgrounds/shinobu_1200.jpg
|
||||
splash = true
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
];
|
||||
# this password will only last for the first login
|
||||
# e.g. login, then change to whatever else, this also ensures no public hash is available
|
||||
hashedPassword = "firstlogin";
|
||||
password = "firstlogin";
|
||||
};
|
||||
|
||||
nix.settings = {
|
||||
|
|
|
|||
14
nix/modules/hyprpaper_config.nix
Normal file
14
nix/modules/hyprpaper_config.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, ... }: {
|
||||
options.programs.hyprland = {
|
||||
hyprpaper = lib.mkOption {
|
||||
default = '''';
|
||||
example = ''
|
||||
hyprpaper stuff
|
||||
'';
|
||||
type = lib.types.lines;
|
||||
description = ''
|
||||
Extra settings for foo.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,18 +1,5 @@
|
|||
#{
|
||||
# xdg.configFile."hypr/hyprpaper.conf" = {
|
||||
# text =
|
||||
# ''
|
||||
# #load
|
||||
# preload = /home/dashie/Pictures/backgrounds/shinobu_2k.jpg
|
||||
# preload = /home/dashie/Pictures/backgrounds/shino_wide.png
|
||||
# preload = /home/dashie/Pictures/backgrounds/shinobu_1200.jpg
|
||||
#
|
||||
# #set
|
||||
# wallpaper = DP-2,/home/dashie/Pictures/backgrounds/shinobu_2k.jpg
|
||||
# wallpaper = DP-1,/home/dashie/Pictures/backgrounds/shino_wide.png
|
||||
# wallpaper = HDMI-A-1,/home/dashie/Pictures/backgrounds/shinobu_1200.jpg
|
||||
# splash = true
|
||||
# '';
|
||||
# };
|
||||
#}
|
||||
{}
|
||||
{ config, ... }: {
|
||||
xdg.configFile."hypr/hyprpaper.conf" = {
|
||||
text = config.programs.hyprland.hyprpaper;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue