128 current 2025-05-29 14:22:44 25.11.20250527.4faa5f5 6.15.0 *
This commit is contained in:
23
flake.nix
23
flake.nix
@@ -2,7 +2,7 @@
|
||||
description = "A simple NixOS flake";
|
||||
|
||||
inputs = {
|
||||
# NixOS official package source, using the nixos-24.11 branch here
|
||||
# NixOS official package source, using unstable here
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nur = {
|
||||
url = "github:nix-community/NUR";
|
||||
@@ -13,9 +13,14 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
plasma-manager = {
|
||||
url = "github:nix-community/plasma-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nur, home-manager, ... }@inputs: {
|
||||
outputs = { self, nixpkgs, nur, home-manager, plasma-manager, ... }@inputs: {
|
||||
# Please replace my-nixos with your hostname
|
||||
nixosConfigurations = {
|
||||
anzu = nixpkgs.lib.nixosSystem {
|
||||
@@ -31,9 +36,10 @@
|
||||
# Add home-manager
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.chase = ./home/home.nix;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
|
||||
home-manager.users.chase = ./home/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -46,9 +52,10 @@
|
||||
nur.modules.nixos.default
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.chase = ./home/home.nix;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
|
||||
home-manager.users.chase = ./home/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Reference in New Issue
Block a user