b
This commit is contained in:
parent
be5d0ed6af
commit
8f8c0daf1f
35
flake.lock
35
flake.lock
|
@ -71,23 +71,18 @@
|
|||
"gitlab_artifacts_sync": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs-unstable"
|
||||
],
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"utils": "utils_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1660320402,
|
||||
"narHash": "sha256-g1BVWbJZHyD1JdcPlRgZR4mza0hqs36Acc5iS5pCl6Q=",
|
||||
"owner": "ChaotiCryptidz",
|
||||
"repo": "gitlab_artifacts_sync",
|
||||
"rev": "3165cb93a9a68b71d467169e4d98f7fdadf051ad",
|
||||
"type": "gitlab"
|
||||
"lastModified": 1660422558,
|
||||
"narHash": "sha256-m7Q//YH+drJ2E+YDOaRJia3uWC2RNjubBSewxus5QGo=",
|
||||
"path": "/home/chaos/Projects/gitlab_artifacts_sync",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ChaotiCryptidz",
|
||||
"repo": "gitlab_artifacts_sync",
|
||||
"type": "gitlab"
|
||||
"path": "/home/chaos/Projects/gitlab_artifacts_sync",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
"home-manager-unstable": {
|
||||
|
@ -202,6 +197,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1660410996,
|
||||
"narHash": "sha256-arkfX1YYFmwMyDTCguzoOI4epABC41FGQU4J1/G3/9M=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "70b6236f3cbc815f2cae8d597418c714cf83d1c8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "release-22.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"deploy-rs": "deploy-rs",
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
musicutil.url = "gitlab:ChaotiCryptidz/musicutil";
|
||||
musicutil.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
|
||||
gitlab_artifacts_sync.url =
|
||||
"gitlab:ChaotiCryptidz/gitlab_artifacts_sync";
|
||||
gitlab_artifacts_sync.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
gitlab_artifacts_sync.url = "path:/home/chaos/Projects/gitlab_artifacts_sync"; #"gitlab:ChaotiCryptidz/gitlab_artifacts_sync";
|
||||
};
|
||||
|
||||
outputs = { ... }@inputs: import ./outputs.nix inputs;
|
||||
|
|
|
@ -2,16 +2,12 @@ _: {
|
|||
programs.ssh.enable = true;
|
||||
programs.ssh.matchBlocks = {
|
||||
"lappy" = {
|
||||
user = "lappy.tailscale-internal.genderfucked.monster";
|
||||
user = "lappy.servers.genderfucked.monster";
|
||||
hostname = "100.115.10.34";
|
||||
};
|
||||
"hetzner-vm" = {
|
||||
user = "root";
|
||||
hostname = "hetzner-vm.tailscale-internal.genderfucked.monster";
|
||||
};
|
||||
"raspberry" = {
|
||||
user = "root";
|
||||
hostname = "raspberry.tailscale-internal.genderfucked.monster";
|
||||
hostname = "hetzner-vm.servers.genderfucked.monster";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -143,6 +143,23 @@ in {
|
|||
options = "--delete-older-than 4d";
|
||||
};
|
||||
|
||||
nix.extraOptions = ''
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
|
||||
nix.buildMachines = [{
|
||||
hostName = "hetzner-vm.servers.genderfucked.monster";
|
||||
system = "x86_64-linux";
|
||||
maxJobs = 6;
|
||||
speedFactor = 2;
|
||||
sshUser = "chaos";
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
mandatoryFeatures = [ ];
|
||||
}];
|
||||
nix.distributedBuilds = true;
|
||||
|
||||
networking.hostName = "lappy";
|
||||
time.timeZone = "Europe/London";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, inputs, ... }: {
|
||||
imports = [ "${inputs.nixpkgs}/nixos/modules/virtualisation/qemu-vm.nix" ];
|
||||
users.users.root.password = "password";
|
||||
users.users.chaos.password = "password";
|
||||
users.users.root.password = "owo";
|
||||
users.users.chaos.password = "owo";
|
||||
home-manager.users.chaos.home.sessionVariables = {
|
||||
WLR_RENDERER_ALLOW_SOFTWARE = "1";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue