mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-03-24 16:47:34 +01:00
Compare commits
3 Commits
fmt
...
stop_actio
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3bcc37073c | ||
|
|
6ef02bd485 | ||
|
|
6b1fb4c065 |
@@ -94,7 +94,6 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
commonPkgsConfig = {
|
commonPkgsConfig = {
|
||||||
inherit localSystem crossSystem;
|
|
||||||
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg)
|
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg)
|
||||||
[
|
[
|
||||||
"nvidia-x11"
|
"nvidia-x11"
|
||||||
@@ -104,8 +103,11 @@
|
|||||||
# Global overlays go here
|
# Global overlays go here
|
||||||
inputs.roowho2.overlays.default
|
inputs.roowho2.overlays.default
|
||||||
]) ++ overlays;
|
]) ++ overlays;
|
||||||
};
|
} // (if localSystem != crossSystem then {
|
||||||
|
inherit localSystem crossSystem;
|
||||||
|
} else {
|
||||||
|
system = crossSystem;
|
||||||
|
});
|
||||||
pkgs = import nixpkgs commonPkgsConfig;
|
pkgs = import nixpkgs commonPkgsConfig;
|
||||||
unstablePkgs = import nixpkgs-unstable commonPkgsConfig;
|
unstablePkgs = import nixpkgs-unstable commonPkgsConfig;
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ in {
|
|||||||
"repo.pulls"
|
"repo.pulls"
|
||||||
"repo.releases"
|
"repo.releases"
|
||||||
];
|
];
|
||||||
|
ALLOW_FORK_INTO_SAME_OWNER = true;
|
||||||
};
|
};
|
||||||
picture = {
|
picture = {
|
||||||
DISABLE_GRAVATAR = true;
|
DISABLE_GRAVATAR = true;
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
{ fp, values, lupineName, ... }:
|
{ fp, values, lib, lupineName, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration/${lupineName}.nix
|
./hardware-configuration/${lupineName}.nix
|
||||||
|
|
||||||
(fp /base)
|
(fp /base)
|
||||||
|
# lupine-4 does not have enough ram for running nix flake check
|
||||||
./services/gitea-runner.nix
|
] ++ lib.optionals (lupineName != "lupine-4") [ ./services/gitea-runner.nix ];
|
||||||
];
|
|
||||||
|
|
||||||
sops.defaultSopsFile = fp /secrets/lupine/lupine.yaml;
|
sops.defaultSopsFile = fp /secrets/lupine/lupine.yaml;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user