Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

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

feat: back to budgie before switching to sway

+54 -15
-15
modules/nixos/desktop/hyprland/default.nix
··· 1 - { options, config, lib, pkgs, namespace, ... }: 2 - with lib; 3 - with lib.${namespace}; 4 - let 5 - cfg = config.${namespace}.desktop.hyprland; 6 - in 7 - { 8 - options.${namespace}.desktop.hyprland = with types; { 9 - enable = mkBoolOpt false "Whether or not to enable Hyprland WM."; 10 - }; 11 - 12 - config = mkIf cfg.enable { 13 - # TODO: Enable a basic hyprland configuration with plugins and basic app for a desktop experience 14 - }; 15 - }
+54
modules/nixos/desktop/i3/default.nix
··· 1 + { options, config, lib, pkgs, namespace, ... }: 2 + with lib; 3 + with lib.${namespace}; 4 + let 5 + cfg = config.${namespace}.desktop.i3; 6 + in 7 + { 8 + options.${namespace}.desktop.i3 = with types; { 9 + enable = mkBoolOpt false "Wheter or not to enable i3 Window Manager 'Suite'."; 10 + }; 11 + 12 + config = mkIf cfg.enable { 13 + services.xserver = { 14 + enable = true; 15 + 16 + desktopManager = { 17 + xterm.enable = false; 18 + }; 19 + 20 + windowManager.i3 = { 21 + enable = true; 22 + extraPackages = with pkgs; [ 23 + dmenu 24 + i3status 25 + i3lock 26 + # i3blocks 27 + ]; 28 + }; 29 + }; 30 + 31 + services.displayManager = { 32 + defaultSession = "none+i3"; 33 + }; 34 + 35 + asgard.home.extraOptions.xsession.windowManager.i3 = { 36 + enable = true; 37 + config = { 38 + terminal = "kitty"; 39 + gaps = { 40 + inner = 16; 41 + outer = 16; 42 + }; 43 + window.commands = [ 44 + { 45 + command = "floating enable"; 46 + criteria = { 47 + class = "steam"; 48 + }; 49 + } 50 + ]; 51 + }; 52 + }; 53 + }; 54 + }