Big changes!
This commit is contained in:
parent
4ad0a517b3
commit
9dd4c60e07
7 changed files with 42 additions and 6 deletions
14
flake.nix
14
flake.nix
|
@ -5,6 +5,7 @@
|
|||
# Nixpkgs
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
fw-pkgs.url = "github:FredzyW/fw-pkgs/master";
|
||||
|
||||
# Home manager
|
||||
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
||||
|
@ -21,6 +22,7 @@
|
|||
nixpkgs,
|
||||
home-manager,
|
||||
nixpkgs-unstable,
|
||||
fw-pkgs,
|
||||
sops-nix,
|
||||
...
|
||||
} @ inputs: let
|
||||
|
@ -32,6 +34,12 @@
|
|||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
overlay-fw-pkgs = final: prev: {
|
||||
fw-pkgs = import fw-pkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
in {
|
||||
# NixOS configuration entrypoint
|
||||
# Available through 'nixos-rebuild --flake .#your-hostname'
|
||||
|
@ -85,7 +93,11 @@
|
|||
inherit inputs outputs;
|
||||
myhostname = "laptop";
|
||||
};
|
||||
modules = [./config/home.nix];
|
||||
modules = [
|
||||
./config/home.nix
|
||||
({nixpkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||
({nixpkgs, ... }: { nixpkgs.overlays = [ overlay-fw-pkgs ]; })
|
||||
];
|
||||
};
|
||||
"fw@desktop" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue