Many changes for Aloria
This commit is contained in:
parent
982f00886a
commit
966e9ee727
|
@ -36,9 +36,7 @@ in
|
||||||
services.hyprpaper = {
|
services.hyprpaper = {
|
||||||
settings = {
|
settings = {
|
||||||
wallpaper = [
|
wallpaper = [
|
||||||
"DP-1,${./hyprland/files/wallpaper.png}"
|
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
|
||||||
"DP-5,${./hyprland/files/wallpaper.png}"
|
|
||||||
"DP-6,${./hyprland/files/wallpaper.png}"
|
|
||||||
"eDP-1,${./hyprland/files/wallpaper.png}"
|
"eDP-1,${./hyprland/files/wallpaper.png}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -47,7 +45,7 @@ in
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
monitor = [
|
monitor = [
|
||||||
"eDP-1,2880x1800@120.00Hz,0x0,1.2"
|
"eDP-1,2880x1800@120.00Hz,0x0,1.2"
|
||||||
"DP-1,1920x1080@60,0x-1080,1"
|
"HDMI-A-1,1920x1080@60,0x-1080,1"
|
||||||
];
|
];
|
||||||
bind = [
|
bind = [
|
||||||
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${
|
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${
|
||||||
|
|
|
@ -52,9 +52,9 @@ return {
|
||||||
-- Make sure to set this up properly if you have lazy=true
|
-- Make sure to set this up properly if you have lazy=true
|
||||||
'MeanderingProgrammer/render-markdown.nvim',
|
'MeanderingProgrammer/render-markdown.nvim',
|
||||||
opts = {
|
opts = {
|
||||||
file_types = { "markdown", "Avante" },
|
file_types = { "Avante" },
|
||||||
},
|
},
|
||||||
ft = { "markdown", "Avante" },
|
ft = { "Avante" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ vim.opt.shada = "!,'2000,f1,<50,s10,h"
|
||||||
vim.o.updatetime = 250
|
vim.o.updatetime = 250
|
||||||
vim.opt.conceallevel = 2
|
vim.opt.conceallevel = 2
|
||||||
vim.opt.foldmethod = "expr"
|
vim.opt.foldmethod = "expr"
|
||||||
vim.opt.foldlevel = 0
|
vim.opt.foldlevel = 1000
|
||||||
vim.opt.foldexpr = "getline(v:lnum)=~'^X-ExtEditorR'?1:0"
|
vim.opt.foldexpr = "getline(v:lnum)=~'^X-ExtEditorR'?1:0"
|
||||||
vim.opt.wrap = true
|
vim.opt.wrap = true
|
||||||
vim.opt.foldenable = false
|
vim.opt.foldenable = false
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
element-desktop
|
element-desktop
|
||||||
evince
|
evince
|
||||||
loupe
|
loupe
|
||||||
# gimp
|
gimp
|
||||||
obs-studio
|
obs-studio
|
||||||
inkscape
|
inkscape
|
||||||
gnome-calendar
|
gnome-calendar
|
||||||
|
@ -41,6 +41,7 @@
|
||||||
zip
|
zip
|
||||||
yubioath-flutter
|
yubioath-flutter
|
||||||
obsidian
|
obsidian
|
||||||
|
nautilus
|
||||||
];
|
];
|
||||||
|
|
||||||
services.kdeconnect = {
|
services.kdeconnect = {
|
||||||
|
|
|
@ -20,6 +20,11 @@ in {
|
||||||
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
||||||
services.throttled.enable = true;
|
services.throttled.enable = true;
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostId = "4e859062";
|
networking.hostId = "4e859062";
|
||||||
networking.interfaces.wlan0.useDHCP = lib.mkDefault false;
|
networking.interfaces.wlan0.useDHCP = lib.mkDefault false;
|
||||||
networking.wireless.iwd.enable = true;
|
networking.wireless.iwd.enable = true;
|
||||||
|
@ -57,12 +62,6 @@ in {
|
||||||
services.tlp = {
|
services.tlp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
|
||||||
|
|
||||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
|
||||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
|
||||||
|
|
||||||
START_CHARGE_THRESH_BAT0 = 40; # 40 and bellow it starts to charge
|
START_CHARGE_THRESH_BAT0 = 40; # 40 and bellow it starts to charge
|
||||||
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
|
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,40 +4,59 @@
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "rpool/root";
|
{ device = "rpool/root";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" =
|
fileSystems."/home" =
|
||||||
{ device = "rpool/home";
|
{ device = "rpool/home";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/5C58-A909";
|
{ device = "/dev/disk/by-uuid/5C58-A909";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
hardware.trackpoint.enable = lib.mkDefault true;
|
||||||
|
hardware.trackpoint.emulateWheel = lib.mkDefault config.hardware.trackpoint.enable;
|
||||||
|
hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint";
|
||||||
|
hardware.ipu6.enable = true;
|
||||||
|
hardware.ipu6.platform = "ipu6ep";
|
||||||
|
# boot.kernelPackages = pkgs.linuxPackages_latest.extend ( self: super: {
|
||||||
|
# ipu6-drivers = super.ipu6-drivers.overrideAttrs (
|
||||||
|
# final: previous: rec {
|
||||||
|
# src = builtins.fetchGit {
|
||||||
|
# url = "https://github.com/intel/ipu6-drivers.git";
|
||||||
|
# ref = "master";
|
||||||
|
# rev = "b4ba63df5922150ec14ef7f202b3589896e0301a";
|
||||||
|
# };
|
||||||
|
# patches = [
|
||||||
|
# "${src}/patches/0001-v6.10-IPU6-headers-used-by-PSYS.patch"
|
||||||
|
# ] ;
|
||||||
|
# }
|
||||||
|
# );
|
||||||
|
# } );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue