feat(wrapping): introduce wrapped configurations
This commit is contained in:
parent
3892f6f79b
commit
2aa24ab2b9
22 changed files with 883 additions and 135 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment = {
|
||||
|
@ -19,6 +20,10 @@
|
|||
|
||||
alqueva = {
|
||||
programs = {
|
||||
swaybg = {
|
||||
enable = true;
|
||||
wallpaper = "${inputs.wallpkgs.packages.${pkgs.system}.nature}/share/wallpapers/nature/07.jpg";
|
||||
};
|
||||
libvirt.enable = true;
|
||||
direnv.enable = true;
|
||||
git.enable = true;
|
||||
|
@ -29,9 +34,30 @@
|
|||
package = pkgs.amadaluzian-xonsh;
|
||||
};
|
||||
system.pipewire.enable = true;
|
||||
wms.river.enable = true;
|
||||
wms.niri.enable = true;
|
||||
};
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
package = pkgs.symlinkJoin {
|
||||
name = "nh";
|
||||
paths = [
|
||||
pkgs.nh
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkgs.makeWrapper
|
||||
];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/nh \
|
||||
--set FLAKE "/home/artur/.config/nixos"
|
||||
'';
|
||||
meta = {inherit (pkgs.nh.meta) mainProgram;};
|
||||
};
|
||||
};
|
||||
|
||||
nix.gc.automatic = lib.mkForce false;
|
||||
|
||||
xdg.mime = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue