feat: add nix configs for host neon with wayland, niri and nocitalia-shell
This commit is contained in:
44
flake.nix
44
flake.nix
@@ -14,16 +14,23 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# noctalia shell
|
||||
noctalia = {
|
||||
url = "github:noctalia-dev/noctalia-shell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }:
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, ... }:
|
||||
let
|
||||
lib = nixpkgs.lib;
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
# nixos system config
|
||||
nixosConfigurations = {
|
||||
|
||||
# default config
|
||||
default = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
@@ -33,13 +40,32 @@
|
||||
./hosts/default/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
# home-manager config
|
||||
homeConfigurations = {
|
||||
aaron = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./hosts/default/home.nix ];
|
||||
|
||||
# laptop neon
|
||||
neon = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
# import host specific configs
|
||||
./hosts/neon/configuration.nix
|
||||
# import host specific hardware configs
|
||||
./hosts/neon/hardware-configuration.nix
|
||||
# import noctalia shell configs
|
||||
./hosts/neon/noctalia.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
## home-manager config
|
||||
#homeConfigurations = {
|
||||
# aaron = home-manager.lib.homeManagerConfiguration {
|
||||
# inherit pkgs;
|
||||
# modules = [ ./hosts/default/home.nix ];
|
||||
# };
|
||||
#};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user