82 lines
2.6 KiB
Nix
82 lines
2.6 KiB
Nix
{
|
|
nixConfig = {
|
|
experimental-features = [
|
|
"flakes"
|
|
"nix-command"
|
|
];
|
|
};
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
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";
|
|
};
|
|
zapret.url = "github:n0vvvonder/zapret-flake.nix";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, impermanence, home-manager, zapret, ...}@inputs: {
|
|
nixosConfigurations = {
|
|
Ratchet = nixpkgs.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/generic/persistence.nix
|
|
./desktop/kde.nix
|
|
./hosts/generic/unfree_allow.nix
|
|
./hosts/generic/virtualization.nix
|
|
./hosts/generic/zapret.nix
|
|
./hosts/generic/plymouth.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.yaroslav = {
|
|
imports = [
|
|
./home/yaroslav/home.nix
|
|
./home/yaroslav/home_gui.nix
|
|
./home/yaroslav/steam.nix
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
Aphelion = nixpkgs.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
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|