feat: change nix structure
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
home-manager.users.louisgallet = { pkgs, ... }: {
|
||||
# HomeBrew configuration
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Homebrew configuration
|
||||
homebrew = {
|
||||
enable = true;
|
||||
casks = [
|
||||
@ -68,7 +70,7 @@ home-manager.users.louisgallet = { pkgs, ... }: {
|
||||
onActivation.upgrade = true;
|
||||
};
|
||||
|
||||
# MacOS system configuration
|
||||
# macOS system configuration
|
||||
security.pam.services.sudo_local.touchIdAuth = true;
|
||||
|
||||
system.defaults = {
|
||||
@ -100,7 +102,10 @@ home-manager.users.louisgallet = { pkgs, ... }: {
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
system.stateVersion = 5;
|
||||
system.primaryUser = "louisgallet";
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
}
|
||||
|
Reference in New Issue
Block a user