update
This commit is contained in:
parent
803defc98a
commit
ce3af3b61e
@ -80,7 +80,7 @@ with config.deviceSpecific; {
|
|||||||
duf
|
duf
|
||||||
zsh-z
|
zsh-z
|
||||||
|
|
||||||
inputs.webcord.packages.${pkgs.system}.default
|
inputs.webcord.packages.${pkgs.hostPlatform.system}.default
|
||||||
] ++ lib.optionals (!(isVM || isISO)) [
|
] ++ lib.optionals (!(isVM || isISO)) [
|
||||||
audacity
|
audacity
|
||||||
blueman
|
blueman
|
||||||
|
@ -28,7 +28,9 @@ in
|
|||||||
with inputs.nix-vscode-marketplace.packages.${pkgs.system}.open-vsx;
|
with inputs.nix-vscode-marketplace.packages.${pkgs.system}.open-vsx;
|
||||||
with pkgs.vscode-extensions;
|
with pkgs.vscode-extensions;
|
||||||
let
|
let
|
||||||
nixpkgs-extensions = pkgs.vscode-extensions;
|
vscode = inputs.nix-vscode-marketplace.packages.${pkgs.system}.vscode;
|
||||||
|
open-vsx = inputs.nix-vscode-marketplace.packages.${pkgs.system}.open-vsx;
|
||||||
|
nixpkgs = pkgs.vscode-extensions;
|
||||||
in [
|
in [
|
||||||
(inputs.direnv-vscode.packages.${pkgs.system}.vsix.overrideAttrs (_: {
|
(inputs.direnv-vscode.packages.${pkgs.system}.vsix.overrideAttrs (_: {
|
||||||
buildPhase = "yarn run build";
|
buildPhase = "yarn run build";
|
||||||
@ -39,31 +41,31 @@ in
|
|||||||
}))
|
}))
|
||||||
(pkgs.callPackage ./theme.nix { mainuser = config.mainuser; } config.lib.base16.theme)
|
(pkgs.callPackage ./theme.nix { mainuser = config.mainuser; } config.lib.base16.theme)
|
||||||
|
|
||||||
aaron-bond.better-comments
|
vscode.aaron-bond.better-comments
|
||||||
alefragnani.bookmarks
|
vscode.alefragnani.bookmarks
|
||||||
alefragnani.project-manager
|
vscode.alefragnani.project-manager
|
||||||
# arrterian.nix-env-selector
|
# vscode.arrterian.nix-env-selector
|
||||||
# bbenoist.nix
|
# vscode.bbenoist.nix
|
||||||
bungcip.better-toml
|
vscode.bungcip.better-toml
|
||||||
catppuccin.catppuccin-vsc
|
vscode.catppuccin.catppuccin-vsc
|
||||||
christian-kohler.path-intellisense
|
vscode.christian-kohler.path-intellisense
|
||||||
codezombiech.gitignore
|
vscode.codezombiech.gitignore
|
||||||
dart-code.dart-code
|
vscode.dart-code.dart-code
|
||||||
# dlasagno.wal-theme
|
# dlasagno.wal-theme
|
||||||
eamodio.gitlens
|
vscode.eamodio.gitlens-insiders
|
||||||
enkia.tokyo-night
|
vscode.enkia.tokyo-night
|
||||||
equinusocio.vsc-material-theme-icons
|
vscode.equinusocio.vsc-material-theme-icons
|
||||||
felixangelov.bloc
|
vscode.felixangelov.bloc
|
||||||
github.vscode-pull-request-github
|
vscode.github.vscode-pull-request-github
|
||||||
irongeek.vscode-env
|
vscode.irongeek.vscode-env
|
||||||
jebbs.plantuml
|
vscode.jebbs.plantuml
|
||||||
jnoortheen.nix-ide
|
vscode.jnoortheen.nix-ide
|
||||||
lucax88x.codeacejumper
|
vscode.lucax88x.codeacejumper
|
||||||
marcelovelasquez.flutter-tree
|
vscode.marcelovelasquez.flutter-tree
|
||||||
mhutchie.git-graph
|
vscode.mhutchie.git-graph
|
||||||
ms-azuretools.vscode-docker
|
vscode.ms-azuretools.vscode-docker
|
||||||
ms-vscode-remote.remote-ssh
|
vscode.ms-vscode-remote.remote-ssh
|
||||||
# ms-vscode-remote.remote-ssh-edit
|
# vscode.ms-vscode-remote.remote-ssh-edit
|
||||||
];
|
];
|
||||||
# ++ [ (import ./extensions.nix).extensions ];
|
# ++ [ (import ./extensions.nix).extensions ];
|
||||||
# extensions = with pkgs.vscode-extensions;
|
# extensions = with pkgs.vscode-extensions;
|
||||||
|
@ -12,11 +12,11 @@ with config.deviceSpecific; {
|
|||||||
boot = if !isServer && !isISO then {
|
boot = if !isServer && !isISO then {
|
||||||
loader = {
|
loader = {
|
||||||
timeout = lib.mkForce 4;
|
timeout = lib.mkForce 4;
|
||||||
systemd-boot.enable = pkgs.system == "x86_64-linux";
|
systemd-boot.enable = pkgs.hostPlatform.system == "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelParams = [ "zswap.enabled=0" "quiet" "scsi_mod.use_blk_mq=1" "modeset" "nofb" ]
|
kernelParams = [ "zswap.enabled=0" "quiet" "scsi_mod.use_blk_mq=1" "modeset" "nofb" ]
|
||||||
++ lib.optionals (pkgs.system == "x86_64-linux") [
|
++ lib.optionals (pkgs.hostPlatform.system == "x86_64-linux") [
|
||||||
"rd.systemd.show_status=auto"
|
"rd.systemd.show_status=auto"
|
||||||
"rd.udev.log_priority=3"
|
"rd.udev.log_priority=3"
|
||||||
"pti=off"
|
"pti=off"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, config, lib, inputs, ... }:
|
{ pkgs, config, lib, inputs, ... }:
|
||||||
let
|
let
|
||||||
inherit (pkgs) system;
|
inherit (pkgs.hostPlatform) system;
|
||||||
master = import inputs.nixpkgs-master ({
|
master = import inputs.nixpkgs-master ({
|
||||||
config = config.nixpkgs.config;
|
config = config.nixpkgs.config;
|
||||||
localSystem = { inherit system; };
|
localSystem = { inherit system; };
|
||||||
|
@ -22,13 +22,15 @@ with config.deviceSpecific; {
|
|||||||
"podman"
|
"podman"
|
||||||
"qemu-libvirtd"
|
"qemu-libvirtd"
|
||||||
"scanner"
|
"scanner"
|
||||||
|
"systemd-journal"
|
||||||
"smbuser"
|
"smbuser"
|
||||||
"video"
|
"video"
|
||||||
# "wheel" # remove?
|
# "wheel" # remove?
|
||||||
];
|
];
|
||||||
description = "AtaraxiaDev";
|
description = "AtaraxiaDev";
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
hashedPassword = "$6$kDBGyd99tto$9LjQwixa7NYB9Kaey002MD94zHob1MmNbVz9kx3yX6Q4AmVgsFMGUyNuHozXprxyuXHIbOlTcf8nd4rK8MWfI/";
|
hashedPassword = "$y$j9T$ZC44T3XYOPapB26cyPsA4.$8wlYEbwXFszC9nrg0vafqBZFLMPabXdhnzlT3DhUit6";
|
||||||
|
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
# Safe, because we using doas
|
# Safe, because we using doas
|
||||||
|
@ -34,14 +34,22 @@ with config.deviceSpecific; {
|
|||||||
freeSwapThreshold = 100;
|
freeSwapThreshold = 100;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fstrim = {
|
services.fstrim = lib.mkIf (devInfo.fileSystem != "zfs") {
|
||||||
enable = isSSD && devInfo.fileSystem != "zfs";
|
enable = isSSD;
|
||||||
interval = "weekly";
|
interval = "weekly";
|
||||||
};
|
};
|
||||||
services.zfs.trim.enable = isSSD && devInfo.fileSystem == "zfs";
|
|
||||||
|
services.zfs = lib.mkIf (devInfo.fileSystem == "zfs") {
|
||||||
|
autoScrub.enable = true;
|
||||||
|
autoScrub.interval = "daily";
|
||||||
|
trim.enable = isSSD;
|
||||||
|
trim.interval = "weekly";
|
||||||
|
};
|
||||||
|
|
||||||
services.gvfs.enable = !isServer;
|
services.gvfs.enable = !isServer;
|
||||||
|
|
||||||
|
services.nscd.enableNsncd = true;
|
||||||
|
|
||||||
# FIX!
|
# FIX!
|
||||||
#services.thermald.enable = isLaptop;
|
#services.thermald.enable = isLaptop;
|
||||||
|
|
||||||
|
@ -2,11 +2,13 @@
|
|||||||
"output": {
|
"output": {
|
||||||
"blocklist": [],
|
"blocklist": [],
|
||||||
"equalizer": {
|
"equalizer": {
|
||||||
|
"balance": 0.0,
|
||||||
|
"bypass": false,
|
||||||
"input-gain": 0.0,
|
"input-gain": 0.0,
|
||||||
"left": {
|
"left": {
|
||||||
"band0": {
|
"band0": {
|
||||||
"frequency": 22.0,
|
"frequency": 22.0,
|
||||||
"gain": 2.6,
|
"gain": 3.0,
|
||||||
"mode": "APO (DR)",
|
"mode": "APO (DR)",
|
||||||
"mute": false,
|
"mute": false,
|
||||||
"q": 0.5,
|
"q": 0.5,
|
||||||
@ -16,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"band1": {
|
"band1": {
|
||||||
"frequency": 237.0,
|
"frequency": 237.0,
|
||||||
"gain": 0.0,
|
"gain": 2.0,
|
||||||
"mode": "APO (DR)",
|
"mode": "APO (DR)",
|
||||||
"mute": false,
|
"mute": false,
|
||||||
"q": 0.9200000166893005,
|
"q": 0.9200000166893005,
|
||||||
@ -108,10 +110,12 @@
|
|||||||
"mode": "IIR",
|
"mode": "IIR",
|
||||||
"num-bands": 10,
|
"num-bands": 10,
|
||||||
"output-gain": 0.0,
|
"output-gain": 0.0,
|
||||||
|
"pitch-left": 0.0,
|
||||||
|
"pitch-right": 0.0,
|
||||||
"right": {
|
"right": {
|
||||||
"band0": {
|
"band0": {
|
||||||
"frequency": 22.0,
|
"frequency": 22.0,
|
||||||
"gain": 2.6,
|
"gain": 3.0,
|
||||||
"mode": "APO (DR)",
|
"mode": "APO (DR)",
|
||||||
"mute": false,
|
"mute": false,
|
||||||
"q": 0.5,
|
"q": 0.5,
|
||||||
@ -121,7 +125,7 @@
|
|||||||
},
|
},
|
||||||
"band1": {
|
"band1": {
|
||||||
"frequency": 237.0,
|
"frequency": 237.0,
|
||||||
"gain": 0.0,
|
"gain": 2.0,
|
||||||
"mode": "APO (DR)",
|
"mode": "APO (DR)",
|
||||||
"mute": false,
|
"mute": false,
|
||||||
"q": 0.9200000166893005,
|
"q": 0.9200000166893005,
|
||||||
@ -213,19 +217,50 @@
|
|||||||
"split-channels": false
|
"split-channels": false
|
||||||
},
|
},
|
||||||
"limiter": {
|
"limiter": {
|
||||||
"asc": false,
|
"alr": false,
|
||||||
"asc-level": 0.5,
|
"alr-attack": 5.0,
|
||||||
"auto-level": false,
|
"alr-knee": 0.0,
|
||||||
"input-gain": -4.0,
|
"alr-release": 50.0,
|
||||||
"limit": 0.0,
|
"attack": 5.0,
|
||||||
|
"bypass": false,
|
||||||
|
"dithering": "None",
|
||||||
|
"external-sidechain": false,
|
||||||
|
"gain-boost": true,
|
||||||
|
"input-gain": 0.0,
|
||||||
"lookahead": 5.0,
|
"lookahead": 5.0,
|
||||||
"output-gain": 0.0,
|
"mode": "Herm Thin",
|
||||||
"oversampling": 1,
|
"output-gain": -3.0,
|
||||||
"release": 50.0
|
"oversampling": "None",
|
||||||
|
"release": 5.0,
|
||||||
|
"sidechain-preamp": 0.0,
|
||||||
|
"stereo-link": 100.0,
|
||||||
|
"threshold": 0.0
|
||||||
},
|
},
|
||||||
"plugins_order": [
|
"plugins_order": [
|
||||||
"limiter",
|
"limiter",
|
||||||
"equalizer"
|
"equalizer",
|
||||||
]
|
"stereo_tools"
|
||||||
|
],
|
||||||
|
"stereo_tools": {
|
||||||
|
"balance-in": 0.0,
|
||||||
|
"balance-out": 0.12000000000000006,
|
||||||
|
"bypass": false,
|
||||||
|
"delay": 0.0,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"middle-level": 0.0,
|
||||||
|
"middle-panorama": 0.0,
|
||||||
|
"mode": "LR > LR (Stereo Default)",
|
||||||
|
"mutel": false,
|
||||||
|
"muter": false,
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"phasel": false,
|
||||||
|
"phaser": false,
|
||||||
|
"sc-level": 1.0,
|
||||||
|
"side-balance": 0.0,
|
||||||
|
"side-level": 0.0,
|
||||||
|
"softclip": false,
|
||||||
|
"stereo-base": 0.0,
|
||||||
|
"stereo-phase": 0.0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, config, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
with config.deviceSpecific; {
|
with config.deviceSpecific; {
|
||||||
i18n.defaultLocale = "en_GB.utf8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
|
|
||||||
console.font = "cyr-sun16";
|
console.font = "cyr-sun16";
|
||||||
# console.keyMap = "ruwin_cplk-UTF-8";
|
# console.keyMap = "ruwin_cplk-UTF-8";
|
||||||
@ -8,7 +8,7 @@ with config.deviceSpecific; {
|
|||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
XKB_DEFAULT_LAYOUT = "us,ru";
|
XKB_DEFAULT_LAYOUT = "us,ru";
|
||||||
XKB_DEFAULT_OPTIONS = "grp:win_space_toggle";
|
XKB_DEFAULT_OPTIONS = "grp:win_space_toggle";
|
||||||
LANG = lib.mkForce "en_GB.utf8";
|
LANG = lib.mkForce "en_GB.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = "Europe/Moscow";
|
time.timeZone = "Europe/Moscow";
|
||||||
@ -21,8 +21,8 @@ with config.deviceSpecific; {
|
|||||||
|
|
||||||
home-manager.users.${config.mainuser} = {
|
home-manager.users.${config.mainuser} = {
|
||||||
home.language = let
|
home.language = let
|
||||||
en = "en_GB.utf8";
|
en = "en_GB.UTF-8";
|
||||||
ru = "ru_RU.utf8";
|
ru = "ru_RU.UTF-8";
|
||||||
in {
|
in {
|
||||||
address = ru;
|
address = ru;
|
||||||
monetary = ru;
|
monetary = ru;
|
||||||
|
@ -10,17 +10,27 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
containers.tor = {
|
containers.tor = {
|
||||||
|
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
privateNetwork = true;
|
|
||||||
|
ephemeral = true;
|
||||||
|
# extraFlags = [ "-U" ]; # unprivileged
|
||||||
hostAddress = "192.168.1.10";
|
hostAddress = "192.168.1.10";
|
||||||
localAddress = "192.168.1.11";
|
localAddress = "192.168.1.11";
|
||||||
|
privateNetwork = true;
|
||||||
|
tmpfs = [ "/" ];
|
||||||
bindMounts."/var/secrets" = {
|
bindMounts."/var/secrets" = {
|
||||||
hostPath = "/var/secrets";
|
hostPath = "/var/secrets";
|
||||||
isReadOnly = true;
|
isReadOnly = true;
|
||||||
};
|
};
|
||||||
tmpfs = [ "/" ];
|
|
||||||
ephemeral = true;
|
|
||||||
config = { config, pkgs, ... }: {
|
config = { config, pkgs, ... }: {
|
||||||
|
# users.mutableUsers = false;
|
||||||
|
# users.users.${config.mainuser} = {
|
||||||
|
# isNormalUser = true;
|
||||||
|
# extraGroups = [ "wheel" ];
|
||||||
|
# hashedPassword = "$6$kDBGyd99tto$9LjQwixa7NYB9Kaey002MD94zHob1MmNbVz9kx3yX6Q4AmVgsFMGUyNuHozXprxyuXHIbOlTcf8nd4rK8MWfI/";
|
||||||
|
# };
|
||||||
|
|
||||||
services.tor.enable = true;
|
services.tor.enable = true;
|
||||||
|
|
||||||
systemd.services.tor-config = {
|
systemd.services.tor-config = {
|
||||||
@ -42,7 +52,7 @@
|
|||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 9050 ];
|
allowedTCPPorts = [ 9050 ];
|
||||||
rejectPackets = true;
|
rejectPackets = false;
|
||||||
};
|
};
|
||||||
# environment.etc."resolv.conf".text = "nameserver 192.168.0.1";
|
# environment.etc."resolv.conf".text = "nameserver 192.168.0.1";
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
with config.deviceSpecific; {
|
with config.deviceSpecific; {
|
||||||
home-manager.users.${config.mainuser}.programs.waybar = {
|
home-manager.users.${config.mainuser}.programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = inputs.nixpkgs-wayland.packages.${pkgs.system}.waybar;
|
# package = inputs.nixpkgs-wayland.packages.${pkgs.hostPlatform.system}.waybar;
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user