Compare commits

..

No commits in common. "be96d3962fa565f5dd2cd87cf24f51c1168986e1" and "9e3a71b35ef9abb9ecef1e023bb313f51de7150f" have entirely different histories.

8 changed files with 9 additions and 47 deletions

View file

@ -53,7 +53,6 @@
nil
zed-editor
bruno
deno
### Work
teams-for-linux

View file

@ -1,16 +0,0 @@
{
lib,
...
}: with lib;
rec {
## Create a NixOS module option. (Stolen from Jake Hamilton)
##
## ```nix
## lib.mkOpt nixpkgs.lib.types.str "My default" "Description of my option."
## ```
##
#@ Type -> Any -> String
mkOpt =
type: default: description:
mkOption { inherit type default description; };
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5 MiB

View file

@ -39,7 +39,6 @@ in
};
};
};
wallpaper = mkOpt str (builtins.toString ./background.png) "Specify the path of your prefered Gnome wallpaper.";
};
config = mkIf osConfig.${namespace}.desktop.gnome.enable {
@ -67,10 +66,6 @@ in
autofocus-windows = true;
notifications-position = "right";
};
"org/gnome/desktop/background" = {
picture-uri = cfg.wallpaper;
picture-uri-dark = cfg.wallpaper;
};
};
};
}

View file

@ -157,6 +157,11 @@ in
name = "Colloid-Dark-Catppuccin";
};
"org/gnome/desktop/background" = {
picture-uri = lib.snowfall.fs.get-file "resources/wallpapers/mocha-vibrant-colours.png";
picture-uri-dark = lib.snowfall.fs.get-file "resources/wallpapers/mocha-vibrant-colours.png";
};
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
cursor-theme = "catppuccin-macchiato-blue-cursors";

View file

@ -1,16 +0,0 @@
{
lib,
namespace,
...
}:
let
inherit (lib.${namespace}) mkOpt;
in
{
options.${namespace}.user = with lib.types; {
name = mkOpt str "Jo" "The user's short name.";
fullName = mkOpt str "Johannes Reckers" "The user's full name.";
email = mkOpt str "reckers.johannes@proton.me" "The user's primary E-Mail address.";
icon = mkOpt str "./icon.jpg" "The path to the users prefered icon.";
};
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

View file

@ -1,21 +1,16 @@
{
lib,
namespace,
config,
...
}:
}: with lib; with lib.${namespace};
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.common.networking;
in {
options.${namespace}.common.networking = {
enable = mkEnableOption "Whether to enable networking through NetworkManager.";
};
options.${namespace}.common.networking = { enable = mkEnableOption "networking"; };
config = mkIf cfg.enable {
networking.networkmanager = {
enable = true;
wifi.powersave = false;
};
networking.networkmanager.enable = true;
};
}