mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
add: home-manager,hyprland,kitten and other extras
This commit is contained in:
commit
3615a7b307
56 files changed
+1804
No files matched your search
@@ -0,0 +1,57 @@
|
||||
{
|
||||
description = "copland nixos configurations";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
helium = {
|
||||
url = "github:AlvaroParker/helium-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
apple-fonts = {
|
||||
url = "github:Lyndeno/apple-fonts.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, chaotic, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
copland = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs system; zen-browser = inputs.zen-browser; };
|
||||
|
||||
modules = [
|
||||
chaotic.nixosModules.default
|
||||
# inputs.noctalia.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
{ nixpkgs.config.allowUnfree = true; }
|
||||
# { services.noctalia-shell.enable = true; }
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit inputs system; };
|
||||
users.elars = import ./home;
|
||||
};
|
||||
}
|
||||
|
||||
./machine.nix
|
||||
./nixos/default.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user