aaa
This commit is contained in:
@@ -38,17 +38,24 @@
|
||||
username = "primary";
|
||||
hostname = nixpkgs.lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname);
|
||||
system = "x86_64-linux";
|
||||
|
||||
# pkgs = import nixpkgs {
|
||||
# config.replaceStdenv = { pkgs }: pkgs.clangStdenv;
|
||||
# };
|
||||
pkgs = import nixpkgs { };
|
||||
in
|
||||
{
|
||||
nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs username hostname;
|
||||
};
|
||||
inherit pkgs;
|
||||
modules =
|
||||
[
|
||||
./system-${hostname}.nix
|
||||
chaotic.nixosModules.default
|
||||
agenix.nixosModules.default
|
||||
|
||||
]
|
||||
++ (
|
||||
if ("${hostname}" == "mreow") then # laptop
|
||||
|
||||
Reference in New Issue
Block a user