{deadnix, alejandra}: fmt

This commit is contained in:
hand7s 2025-04-27 12:47:22 +03:00
parent 510e39c245
commit bfb7cfc16b
No known key found for this signature in database

472
flake.nix
View file

@ -1,236 +1,236 @@
{ {
description = "main flake."; description = "main flake.";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
url = "github:nixos/nixpkgs/nixos-unstable"; url = "github:nixos/nixpkgs/nixos-unstable";
}; };
nixos-hardware = { nixos-hardware = {
url = "github:nixos/nixos-hardware"; url = "github:nixos/nixos-hardware";
}; };
nixgl = { nixgl = {
url = "github:nix-community/nixGL"; url = "github:nix-community/nixGL";
}; };
nur = { nur = {
url = "github:nix-community/NUR"; url = "github:nix-community/NUR";
}; };
nixos-generators = { nixos-generators = {
url = "github:nix-community/nixos-generators"; url = "github:nix-community/nixos-generators";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
nixos-anywhere = { nixos-anywhere = {
url = "github:nix-community/nixos-anywhere"; url = "github:nix-community/nixos-anywhere";
}; };
impermanence = { impermanence = {
url = "github:nix-community/impermanence"; url = "github:nix-community/impermanence";
}; };
home-manager = { home-manager = {
url = "github:nix-community/home-manager/"; url = "github:nix-community/home-manager/";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
disko = { disko = {
url = "github:nix-community/disko"; url = "github:nix-community/disko";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
lanzaboote = { lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.2"; url = "github:nix-community/lanzaboote/v0.4.2";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
vscserver = { vscserver = {
url = "github:nix-community/nixos-vscode-server"; url = "github:nix-community/nixos-vscode-server";
}; };
nix-on-droid = { nix-on-droid = {
url = "github:nix-community/nix-on-droid/master"; url = "github:nix-community/nix-on-droid/master";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
home-manager = { home-manager = {
follows = "home-manager"; follows = "home-manager";
}; };
}; };
}; };
freesm = { freesm = {
url = "github:FreesmTeam/FreesmLauncher"; url = "github:FreesmTeam/FreesmLauncher";
}; };
agenix = { agenix = {
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
}; };
chaotic = { chaotic = {
url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
}; };
nix-darwin = { nix-darwin = {
url = "github:LnL7/nix-darwin/master"; url = "github:LnL7/nix-darwin/master";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
nix-homebrew = { nix-homebrew = {
url = "github:zhaofengli-wip/nix-homebrew"; url = "github:zhaofengli-wip/nix-homebrew";
}; };
homebrew-core = { homebrew-core = {
url = "github:homebrew/homebrew-core"; url = "github:homebrew/homebrew-core";
flake = false; flake = false;
}; };
homebrew-cask = { homebrew-cask = {
url = "github:homebrew/homebrew-cask"; url = "github:homebrew/homebrew-cask";
flake = false; flake = false;
}; };
homebrew-bundle = { homebrew-bundle = {
url = "github:homebrew/homebrew-bundle"; url = "github:homebrew/homebrew-bundle";
flake = false; flake = false;
}; };
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
}; };
stylix = { stylix = {
url = "github:danth/stylix"; url = "github:danth/stylix";
}; };
ayugram-desktop = { ayugram-desktop = {
url = "github:ndfined-crp/ayugram-desktop/"; url = "github:ndfined-crp/ayugram-desktop/";
}; };
hyprland = { hyprland = {
url = "github:hyprwm/Hyprland"; url = "github:hyprwm/Hyprland";
}; };
hyprland-plugins = { hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins"; url = "github:hyprwm/hyprland-plugins";
inputs = { inputs = {
hyprland = { hyprland = {
follows = "hyprland"; follows = "hyprland";
}; };
}; };
}; };
hyprpanel = { hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel"; url = "github:Jas-SinghFSU/HyprPanel";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
spicetify-nix = { spicetify-nix = {
url = "github:Gerg-L/spicetify-nix"; url = "github:Gerg-L/spicetify-nix";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
zen-browser = { zen-browser = {
url = "github:youwen5/zen-browser-flake"; url = "github:youwen5/zen-browser-flake";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
follows = "nixpkgs"; follows = "nixpkgs";
}; };
}; };
}; };
}; };
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
home-manager, home-manager,
... ...
} @ inputs: { } @ inputs: {
homeConfigurations = { homeConfigurations = {
hand7s = home-manager.lib.homeManagerConfiguration { hand7s = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs self;
}; };
modules = [ modules = [
./hand7s/standalone.nix ./hand7s/standalone.nix
inputs.stylix.homeManagerModules.stylix inputs.stylix.homeManagerModules.stylix
inputs.chaotic.homeManagerModules.default inputs.chaotic.homeManagerModules.default
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
inputs.hyprpanel.homeManagerModules.hyprpanel inputs.hyprpanel.homeManagerModules.hyprpanel
inputs.spicetify-nix.homeManagerModules.default inputs.spicetify-nix.homeManagerModules.default
inputs.hyprland.homeManagerModules.default inputs.hyprland.homeManagerModules.default
]; ];
}; };
}; };
nixosConfigurations = { nixosConfigurations = {
s0mePC-nix = nixpkgs.lib.nixosSystem { s0mePC-nix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
}; };
modules = [ modules = [
./s0mePC-nix/default.nix ./s0mePC-nix/default.nix
./s0mePC-nix/disko.nix ./s0mePC-nix/disko.nix
inputs.chaotic.nixosModules.default inputs.chaotic.nixosModules.default
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
]; ];
}; };
s0melapt0p-nix = nixpkgs.lib.nixosSystem { s0melapt0p-nix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
}; };
modules = [ modules = [
./s0melapt0p-nix/default.nix ./s0melapt0p-nix/default.nix
./s0melapt0p-nix/disko.nix ./s0melapt0p-nix/disko.nix
inputs.chaotic.nixosModules.default inputs.chaotic.nixosModules.default
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
]; ];
}; };
}; };
}; };
} }