···11+-- use number of space to a <Tab>
22+vim.opt.expandtab = true
33+44+-- width of a <Tab>
55+vim.opt.shiftwidth = 2
66+vim.opt.tabstop = 2
77+vim.opt.softtabstop = 2
88+99+-- enable line number and relative line number
1010+vim.opt.number = true
1111+-- vim.opt.relativenumber = true
1212+1313+-- enable auto indentation
1414+vim.opt.autoindent = true
···11+return {
22+ "neanias/everforest-nvim",
33+ version = false,
44+ lazy = false,
55+ priority = 1000, -- make sure to load this before all the other start plugins
66+ -- Optional; default configuration will be used if setup isn't called.
77+ config = function()
88+ vim.cmd.colorscheme "everforest"
99+ end,
1010+}
···11-{ inputs, outputs, pkgs, ... }:
22-{
33- # imports = [ /. "./../cosmeak@shared/home.nix" ];
44-55- # home.username = "cosmeak";
66- # home.homeDirectory = "/Users/cosmeak";
77-88- # home.packages = with pkgs; [
99- # # TODO: move users package from configuration.nix
1010- # ];
1111-1212- # You do not need to change this if you're reading this in the future.
1313- # Don't ever change this after the first build. Don't ask questions.
1414- home.stateVersion = "24.05";
1515-}
+66
homes/aarch64-darwin/njord/cosmeak/default.nix
···11+{ inputs, pkgs, ... }:
22+{
33+ imports = [
44+ ./../../../_shared/cosmeak
55+ ];
66+77+ home.username = "cosmeak";
88+ home.homeDirectory = "/Users/cosmeak";
99+ programs.home-manager.enable = true;
1010+1111+ home.packages = with pkgs; [
1212+ # most used Dev environment
1313+ php83
1414+ php83Packages.composer
1515+ nodejs_20
1616+ python310
1717+1818+ # CLI
1919+ tree
2020+ btop
2121+ lazygit
2222+ ngrok
2323+ fastfetch
2424+2525+ # Utilities
2626+ alt-tab-macos
2727+ raycast
2828+2929+ # Window Manager
3030+ # Actually disabled because issue with french keyboard bindings
3131+ # aerospace
3232+ ];
3333+3434+ programs.kitty = {
3535+ enable = true;
3636+ shellIntegration.enableZshIntegration = true;
3737+ themeFile = "Monokai_Pro";
3838+ };
3939+4040+ programs.zsh = {
4141+ enable = true;
4242+ enableCompletion = true;
4343+ syntaxHighlighting.enable = true;
4444+ initExtra = ''
4545+ eval "$(zoxide init zsh)"
4646+ eval "$(/opt/homebrew/bin/brew shellenv)"
4747+ alias rebuild="darwin-rebuild switch --flake ~/.dotfiles"
4848+ '';
4949+ };
5050+5151+ programs.starship = {
5252+ enable = true;
5353+ enableZshIntegration = true;
5454+ };
5555+5656+ programs.zoxide = {
5757+ enable = true;
5858+ enableZshIntegration = true;
5959+ };
6060+6161+ # home.file.".config/aerospace/aerospace.toml".source = ./aerospace/i3-like.toml;
6262+6363+ # You do not need to change this if you're reading this in the future.
6464+ # Don't ever change this after the first build. Don't ask questions.
6565+ home.stateVersion = "24.05";
6666+}
-24
homes/x86_64-linux/benjamin@nyx/default.nix
···11-{
22- # Snowfall Lib provides a customized `lib` instance with access to your flake's library
33- # as well as the libraries available from your flake's inputs.
44- lib,
55- # An instance of `pkgs` with your overlays and packages applied is also available.
66- pkgs,
77- # You also have access to your flake's inputs.
88- inputs,
99-1010- # Additional metadata is provided by Snowfall Lib.
1111- namespace, # The namespace used for your flake, defaulting to "internal" if not set.
1212- home, # The home architecture for this host (eg. `x86_64-linux`).
1313- target, # The Snowfall Lib target for this home (eg. `x86_64-home`).
1414- format, # A normalized name for the home target (eg. `home`).
1515- virtual, # A boolean to determine whether this home is a virtual target using nixos-generators.
1616- host, # The host name for this home.
1717-1818- # All other arguments come from the home home.
1919- config,
2020- ...
2121-}:
2222-{
2323- # Your configuration.
2424-}
···11+{
22+ homebrew.casks = [
33+ # Dev
44+ "zed"
55+ "vscodium" # used for jupyter notebook because not available in zed at this time
66+ "beekeeper-studio" # find a better alternative
77+ "insomnia"
88+ "orbstack" # replace with simple docker desktop
99+ "figma"
1010+ "dbngin" # will be removed when all my project will used flakes and docker for databases
1111+ "arduino-ide"
1212+1313+ # Apps
1414+ "spotify"
1515+ "discord"
1616+ "thunderbird" # install via nix if possiblex
1717+ "obsidian"
1818+ "brave-browser"
1919+2020+ # Mics
2121+ "amethyst" # Window manager
2222+ "stats" # System monitoring displayed in macos top bar - will be replaced by custom script with sketchybar
2323+2424+ # Fonts
2525+ "sf-symbols"
2626+ "font-hack-nerd-font" # move this to nix installation
2727+ ];
2828+}
+16
hosts/aarch64-darwin/njord/homebrew/default.nix
···11+{
22+ # Homebrew - Using for gui app because majority macos apps does not exists in nixpkgs repository
33+44+ imports = [
55+ ./brews.nix
66+ ./casks.nix
77+ ./masapps.nix
88+ ./taps.nix
99+ ];
1010+1111+ homebrew.enable = true;
1212+ homebrew.onActivation = {
1313+ autoUpdate = true;
1414+ cleanup = "zap"; # uninstall all elements not listed
1515+ };
1616+}
+6
hosts/aarch64-darwin/njord/homebrew/masapps.nix
···11+{
22+ # Apps from App Store
33+ homebrew.masApps = {
44+ # Xcode = 497799835;
55+ };
66+}