try home-configuration

This commit is contained in:
Noa Aarts 2025-03-29 21:32:40 +01:00
parent 3d6c78f0c9
commit 5a7b9b23a3
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -148,7 +148,41 @@
}; };
nixosModules = { nixosModules = {
automapaper = ./modules/automapaper; automapaper = ./modules/automapaper;
chome = ./common/home; };
homeConfigurations = {
"noa@zelden" =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = pkgs;
extraSpecialArgs = { inherit inputs nix-colors; };
modules = [
(import ./common/home {
enableGraphical = true;
enableFlut = false;
enableGames = false;
displays = [
{
name = "DP-6";
horizontal = 3840;
vertical = 1200;
horizontal-offset = 0;
vertical-offset = 0;
refresh-rate = 100;
scale = "1";
}
];
extraConfig = {
programs.btop.package = pkgs.btop.overrideAttrs (oldAttrs: {
cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [
"-DBTOP_GPU=ON"
];
});
};
})
];
};
}; };
packages = import ./packages { inherit nixpkgs; }; packages = import ./packages { inherit nixpkgs; };
}; };