nixos-config/nix/flake.nix
Cy Pokhrel 448053ae5d use ntfy for backup notifications
override anki (successfully this time)
install evolution and nix-index
use home-manager to configure gtk and qt theme
and update a bunch of stuff
2024-11-30 20:24:04 -05:00

37 lines
870 B
Nix

{
description = "cy's flake";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, sops-nix, home-manager, ... }@inputs:
let
lib = nixpkgs.lib;
in {
nixosConfigurations = {
ytnix = lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.yt = import ./home.nix;
};
}
];
};
};
};
}