some stuff

This commit is contained in:
Alexander Szczepanski
2021-12-19 19:23:41 +01:00
parent 212a863956
commit e5afe66c08
9 changed files with 30 additions and 18 deletions

View File

@ -9,10 +9,6 @@
".local/share/Trash"
"Games/guild-wars-second/drive_c/Program Files/Guild Wars/Gw.dat"
"Games/guild-wars/drive_c/Program Files/Guild Wars/Gw.dat"
"Kamera"
"Nextcloud"
"shared"
"Sync"
"Workspace"
];
}

View File

@ -7,12 +7,13 @@ in
services = {
blueman.enable = true;
accounts-daemon.enable = pkgs.lib.mkForce false;
xserver = {
enable = true;
displayManager = {
lightdm = {
enable = true;
background = pkgs.nixos-artwork.wallpapers.nineish-dark-gray.gnomeFilePath;
background = ../wallpaper.jpg;
greeters.gtk.theme = {
name = "Adwaita-dark";
};

View File

@ -8,6 +8,8 @@ let
};
in
{
nixpkgs.config.allowUnfree = true;
networking = {
firewall.enable = false;
networkmanager = {
@ -41,7 +43,7 @@ in
chromium = {
enable = true;
extensions = [
"cbnipbdpgcncaghphljjicfgmkonflee" # Axel Springer Blocker
# "cbnipbdpgcncaghphljjicfgmkonflee" # Axel Springer Blocker
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock for YouTube
"oboonakemofpalcgghocfoadofidjkkk" # KeePassXC-Browser
@ -83,7 +85,7 @@ in
fonts = with pkgs; [
# (nerdfonts.override { fonts = [ "Liberation" ]; })
nerdfonts
# corefonts
corefonts
google-fonts
liberation_ttf
noto-fonts

View File

@ -30,6 +30,8 @@ in
ponymix #rofi-default
mullvad-vpn
dracula-theme
deadbeef
grsync
];
};

View File

@ -58,6 +58,10 @@ in
executable = true;
source = ../home/bin/git-redate;
};
".bin/backup-to-stick" = {
executable = true;
source = ../home/bin/backup-to-stick;
};
};
};

5
home/bin/backup-to-stick Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
rsync -rtpogv --progress --delete -s /home/alex/Workspace /run/media/alex/USB-Stick/
rsync -rtpogv --progress --delete -s /home/alex/Sync /run/media/alex/USB-Stick/
rsync -rtpogv --progress --delete -s /home/alex/Kamera /run/media/alex/USB-Stick/

View File

@ -20,7 +20,6 @@ in
#../configs/pantheon.nix
];
# Use the systemd-boot EFI boot loader.
fileSystems."/".options = [ "noatime" "discard" ];
fileSystems."/boot".options = [ "noatime" "discard" ];
fileSystems."/mnt/second" = {
@ -37,6 +36,7 @@ in
device = "nodev";
efiSupport = true;
gfxmodeEfi = "1024x768";
configurationLimit = 5;
};
efi.canTouchEfiVariables = true;

View File

@ -11,9 +11,6 @@ let
be = import ../configs/borg-exclude.nix;
in
{
nixpkgs.config = {
allowUnfree = true;
};
imports =
[
<nixos-hardware/lenovo/thinkpad/x1-extreme>
@ -45,7 +42,7 @@ in
efiSysMountPoint = "/boot/efi";
};
};
kernelPackages = pkgs.linuxPackages_5_14;
kernelPackages = pkgs.linuxPackages_lqx;
plymouth.enable = true;
initrd = {
luks.devices."root" = {
@ -172,6 +169,7 @@ in
};
power-profiles-daemon.enable = false;
auto-cpufreq.enable = true;
tlp.enable = false;
# tlp = {
# enable = true;
# settings = {
@ -201,12 +199,16 @@ in
};
};
home-manager.users.alex.services.barrier.client = {
enable = true;
enableCrypto = false;
name = "thinkpad";
server = "192.168.0.150:24800";
};
# home-manager.users.alex.services.barrier.client = {
# enable = true;
# enableCrypto = false;
# name = "thinkpad";
# server = "192.168.0.150:24800";
# };
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
environment.systemPackages = with pkgs; [
nvidia-offload

BIN
wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 MiB