110 lines
3.6 KiB
Nix
110 lines
3.6 KiB
Nix
{
|
|
nixConfig = {
|
|
experimental-features = [
|
|
"flakes"
|
|
"nix-command"
|
|
];
|
|
};
|
|
inputs = {
|
|
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-unstable";
|
|
};
|
|
# hm-stable = {
|
|
# url = "github:nix-community/home-manager/release-25.05";
|
|
# inputs.nixpkgs-stable.follows = "nixpkgs";
|
|
# };
|
|
zapret.url = "github:n0vvvonder/zapret-flake.nix";
|
|
};
|
|
|
|
outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, ...}@inputs: {
|
|
nixosConfigurations = {
|
|
Ratchet = nixpkgs-unstable.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
impermanence.nixosModules.impermanence
|
|
./hosts/generic/configuration_generic.nix
|
|
./hosts/generic/users.nix
|
|
./hosts/Ratchet/hardware-Ratchet.nix
|
|
./hosts/Ratchet/fingerprint.nix
|
|
./hosts/generic/persistence.nix
|
|
./desktop/kde.nix
|
|
./hosts/generic/unfree_allow.nix
|
|
./hosts/generic/virtualization.nix
|
|
./hosts/generic/zapret.nix
|
|
./hosts/generic/plymouth.nix
|
|
./home/yaroslav/steam.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.yaroslav = {
|
|
imports = [
|
|
./home/yaroslav/home.nix
|
|
./home/yaroslav/home_gui.nix
|
|
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
Aphelion = nixpkgs-unstable.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
impermanence.nixosModules.impermanence
|
|
./hosts/generic/persistence.nix
|
|
./hosts/generic/configuration_generic.nix
|
|
./hosts/generic/users.nix
|
|
./hosts/generic/home-persistence.nix
|
|
./hosts/generic/zapret.nix
|
|
./hosts/generic/virtualization.nix
|
|
./hosts/generic/unfree_allow.nix
|
|
./hosts/generic/plymouth.nix
|
|
./hosts/Aphelion/hardware-Aphelion.nix
|
|
./hosts/Aphelion/nvidia.nix
|
|
./hosts/Aphelion/sunshine.nix
|
|
./hosts/Aphelion/nfs.nix
|
|
./desktop/gnome.nix
|
|
./home/yaroslav/steam.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.yaroslav = {
|
|
imports = [
|
|
./home/yaroslav/Aphelion/Aphelion.nix
|
|
./home/yaroslav/home_gui.nix
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
Quark = nixpkgs-stable.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
impermanence.nixosModules.impermanence
|
|
./hosts/generic/configuration_generic.nix
|
|
./hosts/generic/users.nix
|
|
./hosts/Quark/Quark-hardware.nix
|
|
./hosts/Quark/smb.nix
|
|
./hosts/Quark/sound.nix
|
|
./hosts/generic/virtualization.nix
|
|
# hm-stable.nixosModules.home-manager {
|
|
# home-manager.useUserPackages = true;
|
|
# home-manager.users.yaroslav = {
|
|
# imports = [
|
|
# ./home/yaroslav/home.nix
|
|
# ];
|
|
# };
|
|
# }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|