mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 12:50:05 +00:00
Compare commits
No commits in common. "be96d3962fa565f5dd2cd87cf24f51c1168986e1" and "9e3a71b35ef9abb9ecef1e023bb313f51de7150f" have entirely different histories.
be96d3962f
...
9e3a71b35e
8 changed files with 9 additions and 47 deletions
|
@ -53,7 +53,6 @@
|
||||||
nil
|
nil
|
||||||
zed-editor
|
zed-editor
|
||||||
bruno
|
bruno
|
||||||
deno
|
|
||||||
|
|
||||||
### Work
|
### Work
|
||||||
teams-for-linux
|
teams-for-linux
|
||||||
|
|
|
@ -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 |
|
@ -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 {
|
config = mkIf osConfig.${namespace}.desktop.gnome.enable {
|
||||||
|
@ -67,10 +66,6 @@ in
|
||||||
autofocus-windows = true;
|
autofocus-windows = true;
|
||||||
notifications-position = "right";
|
notifications-position = "right";
|
||||||
};
|
};
|
||||||
"org/gnome/desktop/background" = {
|
|
||||||
picture-uri = cfg.wallpaper;
|
|
||||||
picture-uri-dark = cfg.wallpaper;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,6 +157,11 @@ in
|
||||||
name = "Colloid-Dark-Catppuccin";
|
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" = {
|
"org/gnome/desktop/interface" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
cursor-theme = "catppuccin-macchiato-blue-cursors";
|
cursor-theme = "catppuccin-macchiato-blue-cursors";
|
||||||
|
|
|
@ -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 |
|
@ -1,21 +1,16 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
namespace,
|
namespace,
|
||||||
|
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}: with lib; with lib.${namespace};
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
|
||||||
cfg = config.${namespace}.common.networking;
|
cfg = config.${namespace}.common.networking;
|
||||||
in {
|
in {
|
||||||
options.${namespace}.common.networking = {
|
options.${namespace}.common.networking = { enable = mkEnableOption "networking"; };
|
||||||
enable = mkEnableOption "Whether to enable networking through NetworkManager.";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
networking.networkmanager = {
|
networking.networkmanager.enable = true;
|
||||||
enable = true;
|
|
||||||
wifi.powersave = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue