Some checks failed
Nix Format Check / check-format (push) Failing after 38s
adds noatime to all devices root partition mount options adds cosmic desktop to workstations adds xanmod kernel to workstations adds xanmod with zfs to servers adds perplexityai extension to brave removes openra flatpak adds threads limit to upgrade command to prevent system freezes removes fcitx5 completely
90 lines
2.3 KiB
Nix
90 lines
2.3 KiB
Nix
{
|
|
description = "menno's dotfiles";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-24.11";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
nixpkgs-unstable,
|
|
nixos-cosmic,
|
|
}:
|
|
let
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
"mennos-laptop" = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./hardware/mennos-laptop.nix
|
|
./common/workstation.nix
|
|
./configuration.nix
|
|
nixos-cosmic.nixosModules.default
|
|
{
|
|
nix.settings = {
|
|
substituters = [ "https://cosmic.cachix.org/" ];
|
|
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
|
|
};
|
|
}
|
|
];
|
|
specialArgs = {
|
|
inherit pkgs-unstable;
|
|
isWorkstation = true;
|
|
isServer = false;
|
|
};
|
|
};
|
|
|
|
"mennos-gamingpc" = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./hardware/mennos-gamingpc.nix
|
|
./common/workstation.nix
|
|
./configuration.nix
|
|
nixos-cosmic.nixosModules.default
|
|
{
|
|
nix.settings = {
|
|
substituters = [ "https://cosmic.cachix.org/" ];
|
|
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
|
|
};
|
|
}
|
|
];
|
|
specialArgs = {
|
|
inherit pkgs-unstable;
|
|
isWorkstation = true;
|
|
isServer = false;
|
|
};
|
|
};
|
|
|
|
"mennos-server" = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./hardware/mennos-server.nix
|
|
./common/server.nix
|
|
./configuration.nix
|
|
];
|
|
specialArgs = {
|
|
inherit pkgs-unstable;
|
|
isWorkstation = false;
|
|
isServer = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|