1
0
Fork 0

configuration(darwin): add missing flakes

This commit is contained in:
Antoine Langlois 2024-04-08 15:22:16 +02:00
parent 89456bf5f9
commit 7d253ebeae
Signed by: DataHearth
GPG Key ID: ABF6737C63396D35
3 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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 = {

View File

@ -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; [