mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-19 02:50:12 +01:00
fix wifi, add apps, update insync, some vscode settings
This commit is contained in:
parent
c041ac5f4d
commit
3c616bac52
14
common.nix
14
common.nix
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
# wireless.userControlled.enable = true;
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# proxy.default = "http://user:password@proxy:port/";
|
# proxy.default = "http://user:password@proxy:port/";
|
||||||
|
@ -33,15 +34,17 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPortRanges = [
|
allowedTCPPortRanges = [
|
||||||
{
|
{
|
||||||
|
# KDE Connect
|
||||||
from = 1714;
|
from = 1714;
|
||||||
to = 1764;
|
to = 1764;
|
||||||
} # KDE Connect
|
}
|
||||||
];
|
];
|
||||||
allowedUDPPortRanges = [
|
allowedUDPPortRanges = [
|
||||||
{
|
{
|
||||||
|
# KDE Connect
|
||||||
from = 1714;
|
from = 1714;
|
||||||
to = 1764;
|
to = 1764;
|
||||||
} # KDE Connect
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -136,6 +139,13 @@
|
||||||
package = pkgs.gitFull;
|
package = pkgs.gitFull;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||||
|
};
|
||||||
|
|
||||||
# List packages installed in system profile.
|
# List packages installed in system profile.
|
||||||
# environment.systemPackages = [];
|
# environment.systemPackages = [];
|
||||||
}
|
}
|
||||||
|
|
31
home.nix
31
home.nix
|
@ -5,7 +5,7 @@
|
||||||
}: {
|
}: {
|
||||||
# override insync build version
|
# override insync build version
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
my = import (builtins.fetchTarball https://github.com/kaesaecracker/nixpkgs/archive/db254c650b7f5b6657c6579afba1568f7f997195.tar.gz) {
|
my = import (builtins.fetchTarball https://github.com/kaesaecracker/nixpkgs/archive/0fa91456d2f6dfb9cd4008e81c89c2fec8512415.tar.gz) {
|
||||||
config = config.nixpkgs.config;
|
config = config.nixpkgs.config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -50,6 +50,11 @@
|
||||||
lutris
|
lutris
|
||||||
amberol
|
amberol
|
||||||
simple-scan
|
simple-scan
|
||||||
|
gnome.gpaste
|
||||||
|
wireguard-tools
|
||||||
|
# steamlink
|
||||||
|
chromium
|
||||||
|
element-desktop
|
||||||
]
|
]
|
||||||
# system monitoring
|
# system monitoring
|
||||||
++ [
|
++ [
|
||||||
|
@ -59,6 +64,7 @@
|
||||||
radeontop
|
radeontop
|
||||||
lsof
|
lsof
|
||||||
wirelesstools
|
wirelesstools
|
||||||
|
#lm-sensors
|
||||||
]
|
]
|
||||||
# command line niceness
|
# command line niceness
|
||||||
++ [
|
++ [
|
||||||
|
@ -76,6 +82,8 @@
|
||||||
arduino
|
arduino
|
||||||
uucp
|
uucp
|
||||||
screen
|
screen
|
||||||
|
jetbrains.pycharm-professional
|
||||||
|
kdiff3
|
||||||
];
|
];
|
||||||
|
|
||||||
file.".nanorc".text = ''
|
file.".nanorc".text = ''
|
||||||
|
@ -123,12 +131,9 @@
|
||||||
prettylog = "log --pretty=oneline --graph";
|
prettylog = "log --pretty=oneline --graph";
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
pull = {
|
pull.ff = "only";
|
||||||
ff = "only";
|
init.defaultBranch = "main";
|
||||||
};
|
merge.tool = "kdiff3";
|
||||||
init = {
|
|
||||||
defaultBranch = "main";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -136,12 +141,22 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.vscodium;
|
package = pkgs.vscodium;
|
||||||
enableUpdateCheck = false;
|
enableUpdateCheck = false;
|
||||||
extensions = [pkgs.vscode-extensions.bbenoist.nix];
|
extensions = with pkgs; [
|
||||||
|
vscode-extensions.bbenoist.nix
|
||||||
|
vscode-extensions.ms-python.python
|
||||||
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"files.insertFinalNewline" = true;
|
"files.insertFinalNewline" = true;
|
||||||
|
"git.autofetch" = true;
|
||||||
|
"update.mode" = "none";
|
||||||
|
"editor.fontFamily" = "'Fira Code', 'Droid Sans Mono', 'monospace', monospace";
|
||||||
|
"editor.fontLigatures" = true;
|
||||||
"[nix]" = {
|
"[nix]" = {
|
||||||
"editor.tabSize" = 2;
|
"editor.tabSize" = 2;
|
||||||
};
|
};
|
||||||
|
"redhat.telemetry.enabled" = false;
|
||||||
|
"markdown.extension.tableFormatter.normalizeIndentation" = true;
|
||||||
|
"markdown.extension.toc.orderedList" = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -41,5 +41,6 @@
|
||||||
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.enableRedistributableFirmware = true;
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue