prettyfied flake.nix

This commit is contained in:
yaroslav
2025-06-10 22:34:07 +03:00
parent 80faa9d2b5
commit 4f5ca1ef81
2 changed files with 45 additions and 27 deletions
+7 -6
View File
@@ -6,13 +6,13 @@
];
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
impermanence.url = "github:nix-community/impermanence";
yandex-music.url = "github:cucumber-sp/yandex-music-linux";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
# hm-stable = {
# url = "github:nix-community/home-manager/release-25.05";
@@ -21,9 +21,9 @@
zapret.url = "github:n0vvvonder/zapret-flake.nix";
};
outputs = { self, nixpkgs, impermanence, home-manager, zapret, nixpkgs-stable, ...}@inputs: {
outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, ...}@inputs: {
nixosConfigurations = {
Ratchet = nixpkgs.lib.nixosSystem {
Ratchet = nixpkgs-unstable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
@@ -52,7 +52,7 @@
}
];
};
Aphelion = nixpkgs.lib.nixosSystem {
Aphelion = nixpkgs-unstable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
@@ -90,7 +90,7 @@
impermanence.nixosModules.impermanence
./hosts/generic/configuration_generic.nix
./hosts/generic/users.nix
./hosts/Quark/Quark_hardware.nix
./hosts/Quark/Quark-hardware.nix
# hm-stable.nixosModules.home-manager {
# home-manager.useUserPackages = true;
# home-manager.users.yaroslav = {
@@ -102,4 +102,5 @@
];
};
};
};
}