come ooon home-manager, pls worky ? :pleading_crying: :pissing: 😆
This commit is contained in:
parent
4cb6af2b40
commit
fcb1fc5c8e
1 changed files with 21 additions and 26 deletions
43
flake.nix
43
flake.nix
|
|
@ -4,8 +4,8 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
# Nixpkgs and hardware specific configs
|
# Nixpkgs and hardware specific configs
|
||||||
nixpkgs.url = "nixpkgs/nixos-23.11";
|
# nixpkgs.url = "nixpkgs/nixos-23.11";
|
||||||
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
||||||
# alejandra ?? think its a nix code formatter
|
# alejandra ?? think its a nix code formatter
|
||||||
|
|
@ -33,39 +33,34 @@
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixpkgs-unstable,
|
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
disko,
|
disko,
|
||||||
home-manager,
|
home-manager,
|
||||||
hyprland,
|
hyprland,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
|
|
||||||
let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
overlay-unstable = final: prev: {
|
|
||||||
unstable = import nixpkgs-unstable {
|
|
||||||
inherit system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
overlay-flake-pkgs = final: prev: {
|
|
||||||
};
|
|
||||||
common-modules = [
|
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable overlay-flake-pkgs ]; })
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
proserpina = nixpkgs.lib.nixosSystem {
|
proserpina = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
# specialArgs = { inherit hyprland; };
|
specialArgs = { inherit hyprland; };
|
||||||
modules = [
|
modules = [
|
||||||
|
|
||||||
|
./hosts/proserpina/configuration.nix
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
home-manager.nixosModules.home-manager
|
|
||||||
./hosts/proserpina/configuration.nix # Load muir main nix config
|
|
||||||
# nixos-hardware.nixosModules.$MODEL
|
# nixos-hardware.nixosModules.$MODEL
|
||||||
] ++ common-modules;
|
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
|
{
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
users = {
|
||||||
|
serenity = import ./modules/core/home.nix
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue