framework-2024-07-26-10-25-06
This commit is contained in:
@ -25,18 +25,6 @@
|
|||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
extraConfig = "StreamLocalBindUnlink yes";
|
extraConfig = "StreamLocalBindUnlink yes";
|
||||||
};
|
};
|
||||||
# nextdns = {
|
|
||||||
# enable = true;
|
|
||||||
# arguments = [
|
|
||||||
# "-config"
|
|
||||||
# secrets.nextdnshash
|
|
||||||
# "-cache-size"
|
|
||||||
# "10MB"
|
|
||||||
# "-listen"
|
|
||||||
# "127.0.0.1:53"
|
|
||||||
# "-report-client-info"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
dnscrypt-proxy2 = {
|
dnscrypt-proxy2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -62,7 +50,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
nameservers = [ "127.0.0.1" "::1" ];
|
nameservers = [ "127.0.0.1" ];
|
||||||
# hosts = {
|
# hosts = {
|
||||||
# "207.180.220.97" = [ "szczepan.ski" ];
|
# "207.180.220.97" = [ "szczepan.ski" ];
|
||||||
# "10.100.0.1" = [ "vps.wg" ];
|
# "10.100.0.1" = [ "vps.wg" ];
|
||||||
|
@ -13,35 +13,40 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
layout = "us";
|
xkb.layout = "us";
|
||||||
|
|
||||||
|
updateDbusEnvironment = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Enable touchpad support.
|
# Enable touchpad support.
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
updateDbusEnvironment = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
blackbox-terminal
|
# blackbox-terminal
|
||||||
gnome.gnome-power-manager
|
gnome.gnome-power-manager
|
||||||
gnome.gnome-tweaks
|
gnome.gnome-tweaks
|
||||||
gnomeExtensions.appindicator
|
gnomeExtensions.appindicator
|
||||||
gnomeExtensions.blur-my-shell
|
gnomeExtensions.blur-my-shell
|
||||||
gnomeExtensions.vitals
|
gnomeExtensions.vitals
|
||||||
gnomeExtensions.dash-to-dock
|
gnomeExtensions.dash-to-dock
|
||||||
# gnomeExtensions.syncthing-indicator
|
gnomeExtensions.caffeine
|
||||||
|
gnomeExtensions.user-themes
|
||||||
|
|
||||||
pantheon.elementary-icon-theme
|
pantheon.elementary-icon-theme
|
||||||
|
|
||||||
flat-remix-icon-theme
|
# flat-remix-icon-theme
|
||||||
flat-remix-gtk
|
# flat-remix-gtk
|
||||||
flat-remix-gnome
|
# flat-remix-gnome
|
||||||
|
# juno-theme
|
||||||
|
|
||||||
|
trayscale
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.gnome.excludePackages = (with pkgs; [ gnome-tour ])
|
environment.gnome.excludePackages = (with pkgs; [ gnome-tour gedit ])
|
||||||
++ (with pkgs.gnome; [
|
++ (with pkgs.gnome; [
|
||||||
cheese # webcam tool
|
cheese # webcam tool
|
||||||
gnome-music
|
gnome-music
|
||||||
gedit # text editor
|
|
||||||
epiphany # web browser
|
epiphany # web browser
|
||||||
gnome-characters
|
gnome-characters
|
||||||
totem # video player
|
totem # video player
|
||||||
|
25
configs/plasma-wayland.nix
Executable file
25
configs/plasma-wayland.nix
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
programs = {
|
||||||
|
dconf.enable = true;
|
||||||
|
kdeconnect.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
||||||
|
plasma-browser-integration
|
||||||
|
konsole
|
||||||
|
oxygen
|
||||||
|
kate
|
||||||
|
];
|
||||||
|
|
||||||
|
services = {
|
||||||
|
desktopManager.plasma6.enable = true;
|
||||||
|
displayManager = {
|
||||||
|
sddm = {
|
||||||
|
enable = true;
|
||||||
|
wayland.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
libinput.enable = true;
|
||||||
|
};
|
||||||
|
}
|
@ -11,8 +11,6 @@
|
|||||||
kate
|
kate
|
||||||
];
|
];
|
||||||
|
|
||||||
# environment.etc."chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json".source = "${pkgs.plasma-browser-integration}/etc/chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json";
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
displayManager = {
|
displayManager = {
|
||||||
@ -36,6 +34,4 @@
|
|||||||
|
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ catppuccin-kde sweet-nova ];
|
|
||||||
}
|
}
|
||||||
|
@ -68,27 +68,26 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with unstable.pkgs; [
|
environment.systemPackages = with unstable.pkgs; [
|
||||||
xfce.catfish
|
alacritty
|
||||||
|
baobab
|
||||||
czkawka # fslint before
|
czkawka # fslint before
|
||||||
discord
|
# discord
|
||||||
espeak-ng
|
# espeak-ng
|
||||||
|
gparted
|
||||||
|
grsync
|
||||||
handbrake
|
handbrake
|
||||||
insomnia
|
insomnia
|
||||||
|
keepassxc
|
||||||
meld
|
meld
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
pinta
|
pinta
|
||||||
signal-desktop
|
# remmina
|
||||||
solaar
|
|
||||||
remmina
|
|
||||||
spotify
|
|
||||||
baobab
|
|
||||||
keepassxc
|
|
||||||
grsync
|
|
||||||
virt-manager
|
|
||||||
rustdesk-flutter
|
rustdesk-flutter
|
||||||
glxinfo
|
|
||||||
gparted
|
|
||||||
simple-scan
|
simple-scan
|
||||||
|
# signal-desktop
|
||||||
|
# solaar
|
||||||
|
# spotify
|
||||||
|
virt-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.alex = { pkgs, ... }: {
|
home-manager.users.alex = { pkgs, ... }: {
|
||||||
|
@ -94,7 +94,7 @@ in {
|
|||||||
serverAliveInterval = 60;
|
serverAliveInterval = 60;
|
||||||
forwardAgent = true;
|
forwardAgent = true;
|
||||||
|
|
||||||
matchBlocks."szczepan.ski" = { hostname = "207.180.220.97"; };
|
matchBlocks."szczepan.ski" = { hostname = "szczepan.ski"; };
|
||||||
matchBlocks."mini" = { hostname = "10.100.0.3"; };
|
matchBlocks."mini" = { hostname = "10.100.0.3"; };
|
||||||
matchBlocks."thinkpad" = { hostname = "10.100.0.8"; };
|
matchBlocks."thinkpad" = { hostname = "10.100.0.8"; };
|
||||||
matchBlocks."pi" = { hostname = "10.100.0.6"; };
|
matchBlocks."pi" = { hostname = "10.100.0.6"; };
|
||||||
|
@ -15,7 +15,7 @@ in
|
|||||||
../configs/docker.nix
|
../configs/docker.nix
|
||||||
../configs/games.nix
|
../configs/games.nix
|
||||||
../configs/libvirt.nix
|
../configs/libvirt.nix
|
||||||
../configs/pantheon.nix
|
../configs/plasma-wayland.nix
|
||||||
../configs/user-gui.nix
|
../configs/user-gui.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
/home/alex/Workspace/fw-fanctrl-nix/service.nix
|
/home/alex/Workspace/fw-fanctrl-nix/service.nix
|
||||||
@ -57,7 +57,7 @@ in
|
|||||||
publicKey = wireguard.wireguard-vps-public;
|
publicKey = wireguard.wireguard-vps-public;
|
||||||
presharedKey = secrets.wireguard-preshared;
|
presharedKey = secrets.wireguard-preshared;
|
||||||
allowedIPs = [ "10.100.0.0/24" ];
|
allowedIPs = [ "10.100.0.0/24" ];
|
||||||
endpoint = "szczepan.ski:51820";
|
endpoint = "old.szczepan.ski:51820";
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
@ -70,6 +70,10 @@ in
|
|||||||
keyboard.qmk.enable = true;
|
keyboard.qmk.enable = true;
|
||||||
enableAllFirmware = true;
|
enableAllFirmware = true;
|
||||||
cpu.intel.updateMicrocode = true;
|
cpu.intel.updateMicrocode = true;
|
||||||
|
openrazer = {
|
||||||
|
enable = true;
|
||||||
|
users = [ "alex" ];
|
||||||
|
};
|
||||||
|
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -86,6 +90,8 @@ in
|
|||||||
power-profiles-daemon.enable = true;
|
power-profiles-daemon.enable = true;
|
||||||
colord.enable = true;
|
colord.enable = true;
|
||||||
|
|
||||||
|
fwupd.enable = true;
|
||||||
|
|
||||||
fw-fanctrl = {
|
fw-fanctrl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configJsonPath = "/home/alex/nixos-config/config.json";
|
configJsonPath = "/home/alex/nixos-config/config.json";
|
||||||
@ -103,6 +109,31 @@ in
|
|||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
samba = {
|
||||||
|
enable = true;
|
||||||
|
securityType = "user";
|
||||||
|
extraConfig = ''
|
||||||
|
workgroup = WORKGROUP
|
||||||
|
server string = server
|
||||||
|
netbios name = server
|
||||||
|
security = user
|
||||||
|
guest account = nobody
|
||||||
|
map to guest = bad user
|
||||||
|
logging = systemd
|
||||||
|
max log size = 50
|
||||||
|
'';
|
||||||
|
shares = {
|
||||||
|
storage = {
|
||||||
|
path = "/home/alex/storage";
|
||||||
|
browseable = "yes";
|
||||||
|
"read only" = "no";
|
||||||
|
"guest ok" = "no";
|
||||||
|
"create mask" = "0644";
|
||||||
|
"directory mask" = "0755";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
borgbackup.jobs.home = rec {
|
borgbackup.jobs.home = rec {
|
||||||
compression = "auto,zstd";
|
compression = "auto,zstd";
|
||||||
encryption = {
|
encryption = {
|
||||||
@ -139,8 +170,8 @@ in
|
|||||||
# systemd.services.nix-daemon.serviceConfig.LimitNOFILE = 40960;
|
# systemd.services.nix-daemon.serviceConfig.LimitNOFILE = 40960;
|
||||||
|
|
||||||
environment.systemPackages = with unstable.pkgs; [
|
environment.systemPackages = with unstable.pkgs; [
|
||||||
rustdesk
|
# rustdesk
|
||||||
cinnamon.warpinator
|
# cinnamon.warpinator
|
||||||
psensor
|
psensor
|
||||||
veracrypt
|
veracrypt
|
||||||
gnumake
|
gnumake
|
||||||
@ -151,6 +182,8 @@ in
|
|||||||
# coreboot-toolchain.arm
|
# coreboot-toolchain.arm
|
||||||
intel-gpu-tools
|
intel-gpu-tools
|
||||||
msr-tools
|
msr-tools
|
||||||
|
quota
|
||||||
|
homebank
|
||||||
(import ("/home/alex/Workspace/fw-ectool/default.nix"))
|
(import ("/home/alex/Workspace/fw-ectool/default.nix"))
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -176,7 +209,7 @@ in
|
|||||||
IdleActionSec=2m
|
IdleActionSec=2m
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
systemd.sleep.extraConfig = "HibernateDelaySec=20m";
|
systemd.sleep.extraConfig = "HibernateDelaySec=60m";
|
||||||
|
|
||||||
home-manager.users.alex.services.barrier.client = {
|
home-manager.users.alex.services.barrier.client = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Reference in New Issue
Block a user