93 lines
2.9 KiB
Nix
93 lines
2.9 KiB
Nix
{
|
|
outputs = {
|
|
self,
|
|
flake-parts,
|
|
nixpkgs,
|
|
...
|
|
} @ inputs: let
|
|
mylib = import ./lib nixpkgs.lib;
|
|
systemProfiles = ./sys/profiles;
|
|
homeProfiles = ./home/profiles;
|
|
homeSuites = ./home/suites;
|
|
vars = import ./vars;
|
|
in
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = ["x86_64-linux"];
|
|
|
|
flake.nixosConfigurations = mylib.loadConfigurations ./sys/machines (hostname: {
|
|
inherit inputs self systemProfiles homeProfiles homeSuites vars;
|
|
hostVars = ./vars/${hostname};
|
|
});
|
|
|
|
perSystem = {pkgs, ...}: {
|
|
imports = [
|
|
./shells
|
|
./pkgs
|
|
];
|
|
|
|
formatter = pkgs.alejandra;
|
|
};
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
|
|
hardware.url = "github:nixos/nixos-hardware";
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nvim-config.url = "github:xunuwu/nvim-config";
|
|
nvim-config.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
stylix.url = "github:danth/stylix";
|
|
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
|
stylix.inputs.home-manager.follows = "home-manager";
|
|
|
|
firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
firefox-addons.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nix-index-database.url = "github:Mic92/nix-index-database";
|
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
authentik-nix.url = "github:nix-community/authentik-nix";
|
|
|
|
# nvfetcher.url = "github:berberman/nvfetcher";
|
|
# nvfetcher.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
nix-gaming.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
vpn-confinement.url = "github:Maroka-chan/VPN-Confinement";
|
|
|
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
|
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
sobercookie.url = "github:xunuwu/sobercookie";
|
|
sobercookie.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
wayland-appusage.url = "github:xunuwu/wayland-appusage";
|
|
wayland-appusage.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
roblox-playtime.url = "github:xunuwu/roblox-playtime";
|
|
roblox-playtime.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
own-website.url = "github:xunuwu/xunuwu.xyz";
|
|
own-website.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
cloudflare-ipv4.url = "https://www.cloudflare.com/ips-v4";
|
|
cloudflare-ipv4.flake = false;
|
|
|
|
cloudflare-ipv6.url = "https://www.cloudflare.com/ips-v6";
|
|
cloudflare-ipv6.flake = false;
|
|
|
|
wallpaper.url = "https://cdn.donmai.us/original/43/20/__kasane_teto_and_kasane_teto_utau_and_1_more_drawn_by_maguru_white__43204cf49ef8c071c34009553d1c0455.jpg";
|
|
wallpaper.flake = false;
|
|
};
|
|
}
|