make steam&gamepad work

This commit is contained in:
kp2pml30 2025-02-01 00:01:52 +04:00
parent af637c5d96
commit 1bd790f1c8
10 changed files with 38 additions and 6174 deletions

View file

@ -9,7 +9,7 @@ let
in {
options.kp2pml30 = {
username = lib.mkOption {
type = lib.types.string;
type = lib.types.str;
default = "kp2pml30";
};
xserver = lib.mkEnableOption "";

View file

@ -15,8 +15,11 @@ in {
./steam.nix
];
environment.systemPackages = with pkgs; [
fonts.packages = with pkgs; [
fira-code
fira-code-nerdfont
fira-code-symbols
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];
}

View file

@ -11,8 +11,5 @@ in lib.mkIf cfg.opera {
packages = with pkgs; [
(opera.override { proprietaryCodecs = true; })
];
file.".config/opera/Default/Preferences" = { source = rootPath + "/home/.config/opera/Default/Preferences"; };
file.".config/opera/Default/Bookmarks" = { source = rootPath + "/home/.config/opera/Default/Bookmarks"; };
};
}

View file

@ -13,4 +13,6 @@ in lib.mkIf cfg.steam {
dedicatedServer.openFirewall = false;
localNetworkGameTransfers.openFirewall = false;
};
hardware.steam-hardware.enable = true;
}