try home-configuration
This commit is contained in:
parent
3d6c78f0c9
commit
5a7b9b23a3
1 changed files with 35 additions and 1 deletions
36
flake.nix
36
flake.nix
|
|
@ -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; };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue