style: use alejandra formatter on all nix files
This commit is contained in:
parent
d563805909
commit
0d8a394dcf
76 changed files with 1287 additions and 935 deletions
|
@ -1,45 +1,49 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" "i915" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelParams = [ "intel_pstate=disable" ];
|
||||
boot.kernelModules = [ "kvm-intel" "i915" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" "i915"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelParams = ["intel_pstate=disable"];
|
||||
boot.kernelModules = ["kvm-intel" "i915"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
boot.initrd.luks.devices."nixos".device = "/dev/disk/by-uuid/ee06e049-e738-4f1f-84ab-e8066e0f1640";
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/97c3403a-fdad-4dc8-a103-a666d5fd8d6c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "compress=zstd" ];
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/97c3403a-fdad-4dc8-a103-a666d5fd8d6c";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=root" "compress=zstd"];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/97c3403a-fdad-4dc8-a103-a666d5fd8d6c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home" "compress=zstd"];
|
||||
};
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/97c3403a-fdad-4dc8-a103-a666d5fd8d6c";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=home" "compress=zstd"];
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/97c3403a-fdad-4dc8-a103-a666d5fd8d6c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" "compress=zstd"];
|
||||
};
|
||||
fileSystems."/nix" = {
|
||||
device = "/dev/disk/by-uuid/97c3403a-fdad-4dc8-a103-a666d5fd8d6c";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=nix" "compress=zstd"];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/B77A-53B1";
|
||||
fsType = "vfat";
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/B77A-53B1";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
# 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
|
||||
|
@ -60,5 +64,5 @@
|
|||
];
|
||||
};
|
||||
virtualisation.docker.enable = true;
|
||||
users.extraGroups.docker.members = [ "ephase" ];
|
||||
users.extraGroups.docker.members = ["ephase"];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{...}: {
|
||||
config.modules = {
|
||||
application = {
|
||||
gnupg.enable = true;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
{...}: {
|
||||
## Specific host home manager configuration
|
||||
wayland.windowManager.sway.config = {
|
||||
input = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{...}: {
|
||||
config.modules.desktop.sway.enable = true;
|
||||
config.modules.gaming.steam.enable = false;
|
||||
config.modules.hardware.laptop.enable = true;
|
||||
|
|
|
@ -1,45 +1,49 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "i915" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" "i915" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelParams = ["fbcon=rotate:1" "video=eDP-1:panel_orientation=right_side_up" "intel_pstate=disable" ];
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "i915"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel" "i915"];
|
||||
boot.extraModulePackages = [];
|
||||
boot.kernelParams = ["fbcon=rotate:1" "video=eDP-1:panel_orientation=right_side_up" "intel_pstate=disable"];
|
||||
boot.loader.systemd-boot.consoleMode = "max";
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "compress=zstd"];
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=root" "compress=zstd"];
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."nixos".device = "/dev/disk/by-uuid/ad4fa799-214c-4e5e-996a-8776e010fb2f";
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" "compress=zstd" ];
|
||||
};
|
||||
fileSystems."/nix" = {
|
||||
device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=nix" "compress=zstd"];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home" "compress=zstd" ];
|
||||
};
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=home" "compress=zstd"];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/E83D-CDFE";
|
||||
fsType = "vfat";
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/E83D-CDFE";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, ... }: {
|
||||
{inputs, ...}: {
|
||||
config.modules = {
|
||||
email = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ ... }:
|
||||
{
|
||||
home.file.".config/xkb/symbols/gpdwinmax".text =
|
||||
''
|
||||
{...}: {
|
||||
home.file.".config/xkb/symbols/gpdwinmax".text = ''
|
||||
default partial alphanumeric_keys
|
||||
xkb_symbols "us-intl-winmax" {
|
||||
name[group1] = "GPD Win Max us-inlt";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{...}: {
|
||||
config.modules.desktop.sway.enable = true;
|
||||
config.modules.gaming.steam.enable = true;
|
||||
config.modules.hardware.laptop = {
|
||||
|
|
|
@ -1,61 +1,65 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"amdgpu"
|
||||
];
|
||||
boot.initrd.kernelModules = [
|
||||
boot.initrd.kernelModules = [
|
||||
"dm-cache-default"
|
||||
];
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
"amdgpu"
|
||||
];
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
"amdgpu"
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
"amdgpu.ppfeaturemask=0xffffffff"
|
||||
];
|
||||
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
boot.extraModulePackages = [];
|
||||
boot.initrd.luks.devices."nixos".device = "/dev/disk/by-uuid/ea7fa60d-35e5-48b8-95d7-142f37b262cd";
|
||||
boot.initrd.luks.devices."nixos".preLVM = true;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/9d1e5022-0265-4ce7-824e-282ee550d52d";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@root" "compress=zstd"];
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/9d1e5022-0265-4ce7-824e-282ee550d52d";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=@root" "compress=zstd"];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/9d1e5022-0265-4ce7-824e-282ee550d52d";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@home" "compress=zstd"];
|
||||
};
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/9d1e5022-0265-4ce7-824e-282ee550d52d";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=@home" "compress=zstd"];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/F027-F53F";
|
||||
fsType = "vfat";
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/F027-F53F";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/gamelib" =
|
||||
{ device = "/dev/mapper/tank-gamelib";
|
||||
fileSystems."/mnt/gamelib" = {
|
||||
device = "/dev/mapper/tank-gamelib";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
# 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
|
||||
|
@ -66,7 +70,7 @@
|
|||
# networking.interfaces.wlp37s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
hardware.graphics = {
|
||||
enable32Bit = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, ... }: {
|
||||
{inputs, ...}: {
|
||||
config.modules = {
|
||||
application = {
|
||||
gnupg = {
|
||||
|
|
|
@ -3,14 +3,14 @@ _: {
|
|||
wayland.windowManager.sway.config.output = {
|
||||
"Iiyama North America PL2792UH 1166310803122" = {
|
||||
max_render_time = "5";
|
||||
mode = "3840x2160@60Hz";
|
||||
mode = "3840x2160@60Hz";
|
||||
position = "1235,0";
|
||||
scale = "1.75";
|
||||
bg = "~/medias/images/wallpapers/desktop.jpg center #000000";
|
||||
};
|
||||
"Iiyama North America PL2792UH 1176923201598" = {
|
||||
max_render_time = "5";
|
||||
mode = "3840x2160@60Hz";
|
||||
mode = "3840x2160@60Hz";
|
||||
position = "0,0";
|
||||
scale = "1.75";
|
||||
transform = "270";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{...}: {
|
||||
config.modules.desktop.sway.enable = true;
|
||||
config.modules.gaming.steam = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{ pkgs, inputs, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
config.modules = {
|
||||
application = {
|
||||
gnupg.enable = true;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
wayland.windowManager.sway.config.output = {
|
||||
"eDP-1" = {
|
||||
scale = "1.4";
|
||||
};
|
||||
"HDMI-A-1" = {
|
||||
disable = "";
|
||||
disable = "";
|
||||
};
|
||||
};
|
||||
wayland.windowManager.sway.config.input = {
|
||||
|
@ -15,7 +14,7 @@ _:
|
|||
};
|
||||
};
|
||||
programs.zsh.loginExtra = ''
|
||||
#notmutch
|
||||
# notmuch
|
||||
export NOTMUCH_CONFIG="$HOME/.config/notmuch/config"
|
||||
# export PATH=~/.local/bin:$PATH
|
||||
# export XDG_DATA_HOME=$HOME/.local/share
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{ pkgs, inputs, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
config.modules = {
|
||||
application = {
|
||||
zathura.enable = true;
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
dejavu_fonts
|
||||
font-awesome
|
||||
lato
|
||||
liberation_ttf
|
||||
libertine
|
||||
libnotify
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.fira-mono
|
||||
noto-fonts-emoji
|
||||
noto-fonts-cjk-sans
|
||||
slurp
|
||||
wl-clipboard
|
||||
(config.lib.nixGL.wrap ungoogled-chromium)
|
||||
(config.lib.nixGL.wrap slack)
|
||||
];
|
||||
targets.genericLinux.enable = true;
|
||||
xdg.mime.enable = true;
|
||||
wayland.windowManager.sway.config.input = {
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
dejavu_fonts
|
||||
font-awesome
|
||||
lato
|
||||
liberation_ttf
|
||||
libertine
|
||||
libnotify
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.fira-mono
|
||||
noto-fonts-emoji
|
||||
noto-fonts-cjk-sans
|
||||
slurp
|
||||
wl-clipboard
|
||||
(config.lib.nixGL.wrap ungoogled-chromium)
|
||||
(config.lib.nixGL.wrap slack)
|
||||
];
|
||||
targets.genericLinux.enable = true;
|
||||
xdg.mime.enable = true;
|
||||
wayland.windowManager.sway.config.input = {
|
||||
"1:1:AT_Translated_Set_2_keyboard" = {
|
||||
xkb_layout = "us";
|
||||
xkb_variant = "altgr-intl";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue