minimal work mac settings
Some checks failed
use nix / build (push) Failing after 3m41s

This commit is contained in:
Cyryl Płotnicki 2024-10-02 13:25:26 +01:00
parent b8c8f8e597
commit e3606cfaaf
3 changed files with 11 additions and 9 deletions

View file

@ -172,13 +172,14 @@
modules = [ modules = [
lix-module.nixosModules.default lix-module.nixosModules.default
(./. + "/nixos/boxes/cushy") (./. + "/nixos/boxes/cushy")
{users.users.cyryl.home = "/Users/Cyryl.Plotnicki";} {users.users."Cyryl.Plotnicki".home = "/Users/Cyryl.Plotnicki";}
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
users."Cyryl\.Plotnicki" = { users."Cyryl.Plotnicki" = {
home.username = "Cyryl.Plotnicki";
home.homeDirectory = "/Users/Cyryl.Plotnicki"; home.homeDirectory = "/Users/Cyryl.Plotnicki";
programs.zsh.loginExtra = '' programs.zsh.loginExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"

View file

@ -7,16 +7,13 @@
... ...
}: { }: {
imports = [ imports = [
../../git
../../helix
../../mercurial
../../vim
../../zsh
]; ];
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
nix.settings.ssl-cert-file = "/etc/nix/ca_cert.pem";
programs.zsh.enable = true; # default shell on catalina programs.zsh.enable = true; # default shell on catalina
system.stateVersion = 4; system.stateVersion = 4;
@ -36,6 +33,8 @@
}) })
]; ];
homebrew.enable = true; homebrew.enable = true;
homebrew.casks = [ homebrew.casks = [
"caffeine" "caffeine"
@ -56,10 +55,12 @@
"texinfo" "texinfo"
"wget" "wget"
]; ];
home-manager.users."Cyryl\.Plotnicki" = {...}: { home-manager.users."Cyryl.Plotnicki" = {...}: {
imports = [ imports = [
../../home-manager/programs/kitty.nix ../../home-manager/programs/kitty.nix
]; ];
programs.kitty.settings.hide_window_decorations = lib.mkForce false;
home.sessionPath = ["$HOME/bin"]; home.sessionPath = ["$HOME/bin"];
home.packages = with pkgs; []; home.packages = with pkgs; [];
programs = { programs = {

View file

@ -8,7 +8,7 @@
username = "cyryl"; username = "cyryl";
in { in {
home = { home = {
inherit username; username = lib.mkDefault username;
sessionVariables = { sessionVariables = {
LC_ALL = "en_GB.UTF-8"; LC_ALL = "en_GB.UTF-8";
LANG = "en_GB.UTF-8"; LANG = "en_GB.UTF-8";