Added configuration for Andrej

Use librewolf instead of firefox
This commit is contained in:
Aleksandr Lebedev 2025-02-28 15:56:59 +01:00
parent c83cece584
commit 6f5a549bac
14 changed files with 5082 additions and 6 deletions

View file

@ -102,6 +102,17 @@
# rocmSupport = true;
};
};
andrej-pc-pkgs = nixpkgs: import nixpkgs {
system = x86;
overlays = [
#nativePackagesOverlay
];
config = {
#allowBroken = true;
allowUnfree = true;
#cudaSupport = true;
};
};
nativePackagesOverlay = self: super: {
stdenv = super.impureUseNativeOptimizations super.stdenv;
};
@ -169,6 +180,27 @@
./nixos/configuration.nix
];
};
"andrej-pc" = nixpkgs.lib.nixosSystem {
specialArgs = {
hwconfig = {
hostname = "andrej-pc";
isLaptop = false;
system = x86;
useImpermanence = false;
};
inherit first-nixos-install;
inherit inputs;
unstable-pkgs = andrej-pc-pkgs nixpkgs-unstable;
};
system = x86;
pkgs = andrej-pc-pkgs nixpkgs;
modules = [
(import ./disko/ext4-swap.nix {device = "/dev/sda"; swapSize = 16;})
(import ./disko/ext4.nix {device = "/dev/sdb";})
./nixos/hosts/andrej-pc/configuration.nix
];
};
};
};
}