add jade.nix
This commit is contained in:
parent
65ecde812d
commit
5d6d8f57dc
|
@ -12,7 +12,9 @@
|
||||||
# inputs.hardware.nixosModules.common-ssd
|
# inputs.hardware.nixosModules.common-ssd
|
||||||
|
|
||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./users.nix
|
|
||||||
|
# Import our desktop environment
|
||||||
|
./jade.nix
|
||||||
|
|
||||||
# Import your generated (nixos-generate-config) hardware configuration
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
29
nixos/jade.nix
Normal file
29
nixos/jade.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ inputs, outputs, lib, config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Import our modules
|
||||||
|
imports = [ ];
|
||||||
|
|
||||||
|
# Add overlays exported from flakes:
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
xmonad-jsm = inputs.xmonad-jsm.packages.${pkgs.system}.xmonad-jsm;
|
||||||
|
xmobar-jsm = inputs.xmobar-jsm.packages.${pkgs.system}.xmobar-jsm;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
# Install our dependencies
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
dmenu
|
||||||
|
feh
|
||||||
|
xmobar-jsm
|
||||||
|
];
|
||||||
|
|
||||||
|
# Setup our window manager
|
||||||
|
services.xserver.windowManager.xmonad = {
|
||||||
|
enable = true;
|
||||||
|
enableContribAndExtras = true;
|
||||||
|
config = builtins.readFile "${inputs.xmonad-jsm}/src/xmonad.hs";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue