Compare commits

..

6 commits

Author SHA1 Message Date
dc656284d3
hardware(callisto): charge limit to 90% 2024-08-29 00:07:29 -07:00
e103b5d179
pkgs(callisto): remove custom hyprland overlay patch
patch was merged upstream
2024-08-28 23:53:41 -07:00
3133f4e3eb
flake.lock: Update
Flake lock file updates:

• Updated input 'bleedingpkgs':
    'github:nixos/nixpkgs/8cf91e2c5bd3bcb0232cbd1e4e84dd057c92d5c2' (2024-08-28)
  → 'github:nixos/nixpkgs/263993be92ef21a5114b4e63fa5cee8e19ca6ad6' (2024-08-29)
• Updated input 'homebrew-cask':
    'github:homebrew/homebrew-cask/d220cdb104e9f32f556384d1f4f1347fff0600f1' (2024-08-28)
  → 'github:homebrew/homebrew-cask/b83c4052f1d8516e3995cc11e2a1ff4da968dcf7' (2024-08-29)
• Updated input 'homebrew-core':
    'github:homebrew/homebrew-core/0efb907ad60d236c29635a2faa6213311335d080' (2024-08-28)
  → 'github:homebrew/homebrew-core/e803653aa2da499e39e347a296428fd88ac46dbb' (2024-08-29)
• Updated input 'manga-tui':
    'github:josueBarretogit/manga-tui/bbd227027e89fac2129c912499e533af26b1d64d' (2024-08-27)
  → 'github:josueBarretogit/manga-tui/d67403f23d30dafeac140f6d242cb7d2d3046b56' (2024-08-29)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d0e1602ddde669d5beb01aec49d71a51937ed7be' (2024-08-24)
  → 'github:nixos/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2' (2024-08-28)
• Updated input 'nixpkgs-unstable-small':
    'github:nixos/nixpkgs/1e2ad80181a1cde5132cedb8b49fa55dd0e98565' (2024-08-28)
  → 'github:nixos/nixpkgs/215ea7473ff80eb6cb157ee07223920cc53f4b09' (2024-08-28)
2024-08-28 20:15:55 -07:00
7de608a681
pkgs: unpin librewolf 2024-08-28 20:13:29 -07:00
5e2bc50db2
feat(callisto): enable bluetooth 2024-08-28 20:00:56 -07:00
8773107d9b
refactor: move ryujinx to gaming module 2024-08-28 19:58:21 -07:00
5 changed files with 32 additions and 37 deletions

View file

@ -24,11 +24,11 @@
}, },
"bleedingpkgs": { "bleedingpkgs": {
"locked": { "locked": {
"lastModified": 1724878456, "lastModified": 1724900995,
"narHash": "sha256-p1JnDHCi2LV/SjALgw2M5Y6u7Uc3uV0265fxtm9cg1o=", "narHash": "sha256-lB2OQqimzUMQcCYM8nr6ff23QZbc27sd2edKfeWwykM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8cf91e2c5bd3bcb0232cbd1e4e84dd057c92d5c2", "rev": "263993be92ef21a5114b4e63fa5cee8e19ca6ad6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -502,11 +502,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1724877221, "lastModified": 1724898448,
"narHash": "sha256-cHE6adLCtVO7eNN1zzzvxsSy9jZ5SJdIkXkc8jjPthw=", "narHash": "sha256-US7Sj3qKQgBG9niaPoQE3Dq7aFKZkmJCMeckzrUNeC4=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "d220cdb104e9f32f556384d1f4f1347fff0600f1", "rev": "b83c4052f1d8516e3995cc11e2a1ff4da968dcf7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -518,11 +518,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1724878242, "lastModified": 1724900392,
"narHash": "sha256-vkUwqYIWZdbul9I/kxvgfA832vejp3gBwHxYT/95s9Q=", "narHash": "sha256-/EbaSVN5ErUW3sYuSg5GK+AWr/bwgi7SS9A1gpmfQC0=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "0efb907ad60d236c29635a2faa6213311335d080", "rev": "e803653aa2da499e39e347a296428fd88ac46dbb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -601,11 +601,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1724768973, "lastModified": 1724892587,
"narHash": "sha256-R9Daz8MNtJ2TS8Z/eKEnGy952F+nPrOFoJrtgjhHTCc=", "narHash": "sha256-Xs00/x4R9QD7ziI3fI0BPsLkk2VtwwONvL6j6zPfP8Y=",
"owner": "josueBarretogit", "owner": "josueBarretogit",
"repo": "manga-tui", "repo": "manga-tui",
"rev": "bbd227027e89fac2129c912499e533af26b1d64d", "rev": "d67403f23d30dafeac140f6d242cb7d2d3046b56",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -741,11 +741,11 @@
}, },
"nixpkgs-unstable-small": { "nixpkgs-unstable-small": {
"locked": { "locked": {
"lastModified": 1724828990, "lastModified": 1724870369,
"narHash": "sha256-Qc8L0YGNhQOUAnmi6WfSNP0HFbuTc8AN4d3WOJR5CN4=", "narHash": "sha256-dGHUOi1tBiVOsVdT9QNEuk+FuSMtQxkyx+9CN/34kkk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1e2ad80181a1cde5132cedb8b49fa55dd0e98565", "rev": "215ea7473ff80eb6cb157ee07223920cc53f4b09",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -786,11 +786,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1724479785, "lastModified": 1724819573,
"narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=", "narHash": "sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be", "rev": "71e91c409d1e654808b2621f28a327acfdad8dc2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -41,19 +41,6 @@
in [ in [
inputs.apple-silicon.overlays.apple-silicon-overlay inputs.apple-silicon.overlays.apple-silicon-overlay
inputs.vesktop-bin.overlays.default inputs.vesktop-bin.overlays.default
(final: prev: {
librewolf = stablepkgs.librewolf;
hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
src = oldAttrs.src;
patches =
oldAttrs.patches
or []
++ [
./0001-linux-dmabuf-allow-on-split-node-systems.patch
];
});
})
]; ];
programs.light.enable = true; programs.light.enable = true;
@ -108,7 +95,8 @@
users.users.youwen = { users.users.youwen = {
isNormalUser = true; isNormalUser = true;
description = "Youwen Wu"; description = "Youwen Wu";
extraGroups = ["networkmanager"]; # Wheel is required for iwctl as non-root
extraGroups = ["wheel"];
}; };
nix.settings = { nix.settings = {
@ -118,7 +106,7 @@
services.udev.extraRules = '' services.udev.extraRules = ''
KERNEL=="cpu_dma_latency", GROUP="realtime" KERNEL=="cpu_dma_latency", GROUP="realtime"
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="80", ATTR{charge_control_start_threshold}="70" KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="80"
''; '';
# Allow unfree packages # Allow unfree packages
@ -163,6 +151,13 @@
services.tlp.enable = true; services.tlp.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
# tells electron apps to use Wayland # tells electron apps to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";

View file

@ -1,4 +1,3 @@
{pkgs, ...}: { {pkgs, ...}: {
wayland.windowManager.hyprland.package = pkgs.lib.mkForce pkgs.hyprland;
home.file.".config/neofetch/config.conf".source = ./neofetch-asahi.conf; home.file.".config/neofetch/config.conf".source = ./neofetch-asahi.conf;
} }

View file

@ -1,4 +1,7 @@
{ {pkgs, ...}: {
environment.systemPackages = with pkgs; [
ryujinx
];
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;

View file

@ -35,6 +35,4 @@ with pkgs; [
manga-tui manga-tui
gcc gcc
ryujinx
] ]