Skip to content

Commit 9969495

Browse files
committed
Update
1 parent 47133ca commit 9969495

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

flake.nix

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,7 @@
6969
OPL2212-2 = import ./hosts/OPL2212-2 { inherit inputs; };
7070
};
7171
nixosConfigurations = {
72-
X13Gen2 = inputs.nixpkgs.lib.nixosSystem {
73-
system = "x86_64-linux";
74-
modules = [
75-
./hosts/X13Gen2
76-
inputs.disko.nixosModules.disko
77-
];
78-
};
72+
X13Gen2 = import ./hosts/X13Gen2 { inherit inputs; };
7973
};
8074
nixOnDroidConfigurations = {
8175
OPPO-A79 = import ./hosts/OPPO-A79 { inherit inputs; };

hosts/X13Gen2/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ inputs }:
22
let
33
inherit (inputs) nixpkgs xremap;
4-
inherit (inputs) sops-nix home-manager;
4+
inherit (inputs) sops-nix home-manager disko;
55

66
username = "take";
77
system = "x86_64-linux";
@@ -16,6 +16,7 @@ nixpkgs.lib.nixosSystem {
1616
../../nixos
1717
./hardware-configuration.nix
1818
./disko-config.nix
19+
disko.nixosModules.disko
1920
sops-nix.nixosModules.sops
2021
home-manager.nixosModules.home-manager
2122
{

nixos/config/nix.nix

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1+
{ pkgs, ... }:
12
{
23
nix = {
34
settings.cores = 8;
45
optimise.automatic = true;
56
};
6-
7-
nixpkgs.overlays = [
8-
(final: prev: {
9-
stdenv = prev.stdenvAdapters.useMold prev.stdenv;
10-
})
11-
];
127
}

0 commit comments

Comments
 (0)