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 = [
lix-module.nixosModules.default
(./. + "/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 = {
useGlobalPkgs = true;
useUserPackages = true;
users."Cyryl\.Plotnicki" = {
users."Cyryl.Plotnicki" = {
home.username = "Cyryl.Plotnicki";
home.homeDirectory = "/Users/Cyryl.Plotnicki";
programs.zsh.loginExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)"

View file

@ -7,16 +7,13 @@
...
}: {
imports = [
../../git
../../helix
../../mercurial
../../vim
../../zsh
];
services.nix-daemon.enable = true;
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
system.stateVersion = 4;
@ -36,6 +33,8 @@
})
];
homebrew.enable = true;
homebrew.casks = [
"caffeine"
@ -56,10 +55,12 @@
"texinfo"
"wget"
];
home-manager.users."Cyryl\.Plotnicki" = {...}: {
home-manager.users."Cyryl.Plotnicki" = {...}: {
imports = [
../../home-manager/programs/kitty.nix
];
programs.kitty.settings.hide_window_decorations = lib.mkForce false;
home.sessionPath = ["$HOME/bin"];
home.packages = with pkgs; [];
programs = {

View file

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