Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

wip: suites

cosmeak b48f38f0 615ad0a0

+41 -6
+2
flake.nix
··· 43 43 ./modules/nixos/programs/steam.nix 44 44 ./modules/nixos/system/auto-update.nix 45 45 ./modules/nixos/system/garbage-collector.nix 46 + ./modules/common/suites/base.nix 46 47 ./modules/common/suites/development.nix 47 48 ./modules/common/suites/pentesting.nix 48 49 ]; 49 50 50 51 darwinModules = [ 51 52 ./modules/darwin/system/garbage-collector.nix 53 + ./modules/common/suites/base.nix 52 54 ./modules/common/suites/development.nix 53 55 ]; 54 56
+2 -1
machines/darwin/njord/default.nix
··· 25 25 alt-tab-macos # alt tab like windows on macos 26 26 utm # VM emulator for macos/ios 27 27 cocoapods # used for swift development 28 + obsidian # Markdown note taking app 28 29 ]; 29 30 30 - programs._1password.enable = true; # Password manager (come from darwin modules) 31 + programs._1password.enable = true; # Password manager (come from nix-darwin modules) 31 32 32 33 asgard.suites.development.enable = true; 33 34
-1
machines/darwin/njord/homebrew/casks.nix
··· 2 2 homebrew.casks = [ 3 3 "orbstack" # Replace docker desktop -> will be replace with podman? 4 4 "figma" # ux/ui 5 - "obsidian" # Markdown note taking app 6 5 "amethyst" # Window manager (to package) 7 6 "font-hack-nerd-font" # move this to nix installation 8 7 "discord" # use this one since nixpkgs doesn't have krisp
+4 -3
machines/nixos/loki/default.nix
··· 4 4 ./hardware.nix 5 5 6 6 # Import users 7 - ../../../users/cosmeak/andhrimnir 7 + ../../../users/cosmeak/loki 8 8 ]; 9 9 10 10 # EFI Bootloader ··· 53 53 54 54 # Global packages 55 55 environment.systemPackages = with pkgs; [ 56 - firefox 57 - ghostty 58 56 bat 59 57 eza 60 58 fzf ··· 67 65 zip 68 66 btop 69 67 ]; 68 + 69 + # Suites of packages (opiniated collection) 70 + asgard.suites.base.enable = true; 70 71 71 72 # Steam 72 73 asgard.programs.steam.enable = true;
+20
modules/common/suites/base.nix
··· 1 + { config, pkgs, lib, ... }: 2 + let 3 + cfg = config.asgard.suites.base; 4 + in 5 + { 6 + options.asgard.suites.base = { 7 + enable = lib.mkEnableOption "Enable the base suite."; 8 + }; 9 + 10 + config = lib.mkIf cfg.enable ({ 11 + # collection of opiniated package for a workstation 12 + environment.systemPackages = with pkgs; [ 13 + librewolf # web browser 14 + obsidian # markdown note taking app 15 + discord # chat app 16 + ghostty # terminal emulator 17 + spotify # music library 18 + ]; 19 + }); 20 + }
+13
modules/common/suites/gaming.nix
··· 1 + { config, pkgs, lib, ... }: 2 + let 3 + cfg = config.asgard.suites.gaming; 4 + in 5 + { 6 + options.asgard.suites.gaming = { 7 + enable = lib.mkEnableOption "Enable the gaming suite."; 8 + }; 9 + 10 + config = lib.mkIf cfg.enable ({ 11 + # TODO 12 + }); 13 + }
-1
users/cosmeak/loki/default.nix
··· 14 14 prismlauncher 15 15 obsidian 16 16 spotify 17 - zed-editor 18 17 _1password-gui 19 18 ]; 20 19 };