chore: commit

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-03-19 13:08:21 -03:00
parent 8656ea3b28
commit 91c899d278
4 changed files with 53 additions and 4 deletions

View File

@@ -7,9 +7,5 @@
options.default.home = { };
config = {
librewolf.profiles.guz.isDefault = true;
services.flatpak.packages = [
"com.valvesoftware.Steam"
];
};
}

View File

@@ -39,6 +39,11 @@
})
];
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [ ];
virtualisation.waydroid.enable = true;
sops.defaultSopsFile = ../../secrets/desktop-secrets.yaml;
sops.defaultSopsFormat = "yaml";
@@ -82,6 +87,15 @@
wl-clipboard
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-run"
];
programs.steam = {
enable = true;
};
# Enable the X11 windowing system.
services.xserver.enable = true;
@@ -109,6 +123,11 @@
hardware.opentabletdriver.enable = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
# hardware.pulseaudio.enable = true;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;

View File

@@ -81,6 +81,8 @@
gimp
inkscape
pureref
gamemode
lutris
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"

View File

@@ -0,0 +1,32 @@
{ config, lib, pkgs, ... }:
let
cfg = config.client;
in
{
imports = [ ];
options.client = with lib; with lib.types; {
enable = mkEnableOption "";
name = mkOption {
type = str;
default = "client";
};
flakeDir = mkOption {
type = str;
};
localIp = mkOption {
type = nullOr str;
default = null;
};
ip = mkOption {
type = nullOr str;
default = cfg.localIp;
};
users = mkOption {
type = attrsOf (submodule { ... }: {
options = { };
});
};
};
config = lib.mkIf cfg.enable { };
}