mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-20 13:50:58 +01:00
wm: Add regreet
This commit is contained in:
parent
cf82153db0
commit
da3f00605f
1 changed files with 30 additions and 0 deletions
30
wm/nixos.nix
30
wm/nixos.nix
|
|
@ -15,4 +15,34 @@
|
|||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
cage = pkgs.writeShellScriptBin "cage" ''
|
||||
export XKB_DEFAULT_LAYOUT=us
|
||||
export XKB_DEFAULT_VARIANT=dvp
|
||||
exec ${self.lib.getExe super.cage} "$@"
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
services.displayManager.sessionPackages = with pkgs; [
|
||||
sway
|
||||
];
|
||||
|
||||
programs.regreet = {
|
||||
enable = true;
|
||||
|
||||
theme.package = pkgs.canta-theme;
|
||||
|
||||
settings = {
|
||||
background.path = pkgs.fetchurl {
|
||||
url = "https://lesmondaines.com/wp-content/uploads/2018/07/lac-crozet-rando-2.jpg";
|
||||
hash = "sha256-s35RoLnAyGhDNJh5+qbDEqCM7gF3U2Tyzx4X7jzhT70=";
|
||||
};
|
||||
GTK = {
|
||||
application_prefer_dark_theme = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue