Compare commits

..

No commits in common. "dc656284d324debe6428ca6dc252df254951c41d" and "c5440e4b091d10e212ca569c8e19a7e94b57bb02" have entirely different histories.

5 changed files with 37 additions and 32 deletions

View file

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

View file

@ -41,6 +41,19 @@
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;
@ -95,8 +108,7 @@
users.users.youwen = { users.users.youwen = {
isNormalUser = true; isNormalUser = true;
description = "Youwen Wu"; description = "Youwen Wu";
# Wheel is required for iwctl as non-root extraGroups = ["networkmanager"];
extraGroups = ["wheel"];
}; };
nix.settings = { nix.settings = {
@ -106,7 +118,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}="90", ATTR{charge_control_start_threshold}="80" KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="80", ATTR{charge_control_start_threshold}="70"
''; '';
# Allow unfree packages # Allow unfree packages
@ -151,13 +163,6 @@
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,3 +1,4 @@
{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,7 +1,4 @@
{pkgs, ...}: { {
environment.systemPackages = with pkgs; [
ryujinx
];
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;

View file

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