laptop
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
};
|
};
|
||||||
graphical = {
|
graphical = {
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
|
basics.enable = true;
|
||||||
code = {
|
code = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#android.enable = true;
|
#android.enable = true;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
keepassxc
|
keepassxc
|
||||||
discord
|
discord-canary
|
||||||
gvfs
|
gvfs
|
||||||
remmina
|
remmina
|
||||||
thunderbird
|
thunderbird
|
||||||
|
|||||||
@@ -12,8 +12,7 @@ in {
|
|||||||
# You can change versions, add patches, set compilation flags, anything really.
|
# You can change versions, add patches, set compilation flags, anything really.
|
||||||
# https://nixos.wiki/wiki/Overlays
|
# https://nixos.wiki/wiki/Overlays
|
||||||
modifications = final: prev: {
|
modifications = final: prev: {
|
||||||
discord = prev.discord-canary.override { withVencord = true; };
|
discord-canary = prev.discord-canary.override { withVencord = true; };
|
||||||
#discord = prev.vesktop;
|
|
||||||
tetrio-desktop = prev.tetrio-desktop.override { withTetrioPlus = true; };
|
tetrio-desktop = prev.tetrio-desktop.override { withTetrioPlus = true; };
|
||||||
#hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
|
#hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
|
||||||
# version = "0.45.0";
|
# version = "0.45.0";
|
||||||
|
|||||||
@@ -15,7 +15,8 @@
|
|||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||||
|
|
||||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
#CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
||||||
|
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
|
||||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||||
|
|
||||||
CPU_MIN_PERF_ON_AC = 0;
|
CPU_MIN_PERF_ON_AC = 0;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "sd_mod" "rtsx_pci_sdmmc" "uas" "usbcore" "ehci_hcd" "uhci_hcd" "ohci_hcd" "scsi_mod" ];
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-label/nixos-ssd";
|
device = "/dev/disk/by-label/nixos-ssd";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
#discord
|
|
||||||
brave
|
brave
|
||||||
];
|
];
|
||||||
openssh.authorizedKeys.keys = [ config.mainUser.sshKey ];
|
openssh.authorizedKeys.keys = [ config.mainUser.sshKey ];
|
||||||
|
|||||||
Reference in New Issue
Block a user