configuration(darwin): add missing flakes
This commit is contained in:
parent
89456bf5f9
commit
7d253ebeae
|
@ -53,7 +53,7 @@
|
|||
darwinConfigurations = {
|
||||
antoine-macbookpro = nix-darwin.lib.darwinSystem {
|
||||
system = "x86_64-darwin";
|
||||
specialArgs = { inherit inputs; };
|
||||
specialArgs = { inherit inputs hyprlock hypridle; };
|
||||
modules = [
|
||||
./hosts/antoine-macbookpro/configuration.nix
|
||||
home-manager.darwinModules.home-manager
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, lib, ... }: {
|
||||
{ inputs, pkgs, lib, hyprlock, hypridle, ... }: {
|
||||
imports = [
|
||||
./services.nix
|
||||
../../modules/neovim
|
||||
|
@ -8,6 +8,9 @@
|
|||
nix.settings.experimental-features = "nix-command flakes";
|
||||
nixpkgs.hostPlatform = "x86_64-darwin";
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"nix-2.16.2"
|
||||
];
|
||||
|
||||
# System
|
||||
system.stateVersion = 4;
|
||||
|
@ -22,7 +25,7 @@
|
|||
shell = pkgs.zsh;
|
||||
};
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
extraSpecialArgs = { inherit inputs hyprlock hypridle; };
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users = {
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, lib, hyprlock, hypridle, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../shared/hm.nix
|
||||
|
||||
hyprlock.homeManagerModules.default
|
||||
hypridle.homeManagerModules.default
|
||||
] ++ (import ../../../modules/home-manager);
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
Loading…
Reference in New Issue