wip: dnsc-machine setup

This commit is contained in:
Dennis Schoepf 2025-12-16 23:24:22 +01:00
parent 1932def1c1
commit 604e582c01
2 changed files with 17 additions and 13 deletions

View file

@ -55,9 +55,26 @@
nixosModules.steam = import ./modules/steam;
nixosModules.niriSystem = import ./modules/wm/niri-system;
# Overlays
overlays.default = final: prev: {
python3 = prev.python3.override {
packageOverrides = pyFinal: pyPrev: {
python-dbusmock = pyPrev.python-dbusmock.overridePythonAttrs (_: {
doCheck = false;
});
};
};
};
nixosConfigurations.dnsc-machine = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs outputs; };
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
self.overlays.default
];
};
modules = [
./hosts/dnsc-machine
];

View file

@ -6,9 +6,6 @@
...
}:
let
backportPkgs = inputs.nixpkgs-backport-fix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
imports = [
# Include the results of the hardware scan.
@ -32,16 +29,6 @@ in
# in modules/default.nix
nixpkgs.overlays = [
inputs.zellij-switch.overlays.default
(final: prev: {
python3Packages = prev.python3Packages.overrideScope (
pyFinal: pyPrev: {
python-dbusmock = pyPrev.python-dbusmock.overridePythonAttrs (old: {
doCheck = false;
});
}
);
})
];
# General settings