mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
Compare commits
6 commits
c5440e4b09
...
dc656284d3
Author | SHA1 | Date | |
---|---|---|---|
dc656284d3 | |||
e103b5d179 | |||
3133f4e3eb | |||
7de608a681 | |||
5e2bc50db2 | |||
8773107d9b |
5 changed files with 32 additions and 37 deletions
36
flake.lock
36
flake.lock
|
@ -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": {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
ryujinx
|
||||||
|
];
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
|
|
|
@ -35,6 +35,4 @@ with pkgs; [
|
||||||
manga-tui
|
manga-tui
|
||||||
|
|
||||||
gcc
|
gcc
|
||||||
|
|
||||||
ryujinx
|
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue