You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.0 KiB

{
description = "Felix' first NixOS System Flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
# sopswarden.url = "github:pfassina/sopswarden";
};
outputs = { self, nixpkgs, home-manager, plasma-manager, ... }@inputs: {
nixosConfigurations = {
Felix-Desktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
# sopswarden.nixosModules.default{
# services.sopswarden = {
# enable = true;
# secrets = {
# ssh-key-priv = "Personal SSH-Key (Priv)";
# ssh-key-pub = "Personal SSH-Key (Pub)";
# age-key = "AGE-Key";
# };
# ageKeyFile = "./key.txt";
# };
# }
./configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.felix = import ./home.nix;
home-manager.sharedModules = [
plasma-manager.homeManagerModules.plasma-manager
# sopswarden.homeManagerModules.sopswarden
];
}
];
};
Felix-Thinclient = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.felix = import ./home.nix;
home-manager.sharedModules = [
plasma-manager.homeManagerModules.plasma-manager
];
}
];
};
};
};
}