Add awesome configuration
This commit is contained in:
parent
f2c7453b02
commit
5347c04b3e
9 changed files with 912 additions and 11 deletions
|
@ -1,9 +1,35 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ nitrogen ];
|
||||
pkgs,
|
||||
self,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (pkgs) writeShellScriptBin;
|
||||
|
||||
script-autostart = writeShellScriptBin "awesome-autostart" ''
|
||||
set -o errexit
|
||||
|
||||
${pkgs.nitrogen}/bin/nitrogen --set-zoom-fill --random "''${HOME}/Pictures/Wallpaper"
|
||||
'';
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
script-autostart
|
||||
|
||||
nitrogen
|
||||
];
|
||||
|
||||
services.xserver.windowManager.awesome = {
|
||||
enable = true;
|
||||
noArgb = true;
|
||||
};
|
||||
|
||||
home-manager.users.${username} = {
|
||||
xdg.configFile.awesome = {
|
||||
source = "${self}/config/awesome";
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue