some stuff
This commit is contained in:
@ -9,10 +9,6 @@
|
|||||||
".local/share/Trash"
|
".local/share/Trash"
|
||||||
"Games/guild-wars-second/drive_c/Program Files/Guild Wars/Gw.dat"
|
"Games/guild-wars-second/drive_c/Program Files/Guild Wars/Gw.dat"
|
||||||
"Games/guild-wars/drive_c/Program Files/Guild Wars/Gw.dat"
|
"Games/guild-wars/drive_c/Program Files/Guild Wars/Gw.dat"
|
||||||
"Kamera"
|
|
||||||
"Nextcloud"
|
|
||||||
"shared"
|
"shared"
|
||||||
"Sync"
|
|
||||||
"Workspace"
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -7,12 +7,13 @@ in
|
|||||||
|
|
||||||
services = {
|
services = {
|
||||||
blueman.enable = true;
|
blueman.enable = true;
|
||||||
|
accounts-daemon.enable = pkgs.lib.mkForce false;
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager = {
|
displayManager = {
|
||||||
lightdm = {
|
lightdm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
background = pkgs.nixos-artwork.wallpapers.nineish-dark-gray.gnomeFilePath;
|
background = ../wallpaper.jpg;
|
||||||
greeters.gtk.theme = {
|
greeters.gtk.theme = {
|
||||||
name = "Adwaita-dark";
|
name = "Adwaita-dark";
|
||||||
};
|
};
|
||||||
|
@ -8,6 +8,8 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
@ -41,7 +43,7 @@ in
|
|||||||
chromium = {
|
chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
"cbnipbdpgcncaghphljjicfgmkonflee" # Axel Springer Blocker
|
# "cbnipbdpgcncaghphljjicfgmkonflee" # Axel Springer Blocker
|
||||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
|
||||||
"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock for YouTube
|
"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock for YouTube
|
||||||
"oboonakemofpalcgghocfoadofidjkkk" # KeePassXC-Browser
|
"oboonakemofpalcgghocfoadofidjkkk" # KeePassXC-Browser
|
||||||
@ -83,7 +85,7 @@ in
|
|||||||
fonts = with pkgs; [
|
fonts = with pkgs; [
|
||||||
# (nerdfonts.override { fonts = [ "Liberation" ]; })
|
# (nerdfonts.override { fonts = [ "Liberation" ]; })
|
||||||
nerdfonts
|
nerdfonts
|
||||||
# corefonts
|
corefonts
|
||||||
google-fonts
|
google-fonts
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
@ -30,6 +30,8 @@ in
|
|||||||
ponymix #rofi-default
|
ponymix #rofi-default
|
||||||
mullvad-vpn
|
mullvad-vpn
|
||||||
dracula-theme
|
dracula-theme
|
||||||
|
deadbeef
|
||||||
|
grsync
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -58,6 +58,10 @@ in
|
|||||||
executable = true;
|
executable = true;
|
||||||
source = ../home/bin/git-redate;
|
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
5
home/bin/backup-to-stick
Executable 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/
|
@ -20,7 +20,6 @@ in
|
|||||||
#../configs/pantheon.nix
|
#../configs/pantheon.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
|
||||||
fileSystems."/".options = [ "noatime" "discard" ];
|
fileSystems."/".options = [ "noatime" "discard" ];
|
||||||
fileSystems."/boot".options = [ "noatime" "discard" ];
|
fileSystems."/boot".options = [ "noatime" "discard" ];
|
||||||
fileSystems."/mnt/second" = {
|
fileSystems."/mnt/second" = {
|
||||||
@ -37,6 +36,7 @@ in
|
|||||||
device = "nodev";
|
device = "nodev";
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
gfxmodeEfi = "1024x768";
|
gfxmodeEfi = "1024x768";
|
||||||
|
configurationLimit = 5;
|
||||||
};
|
};
|
||||||
|
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
@ -11,9 +11,6 @@ let
|
|||||||
be = import ../configs/borg-exclude.nix;
|
be = import ../configs/borg-exclude.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixpkgs.config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
<nixos-hardware/lenovo/thinkpad/x1-extreme>
|
<nixos-hardware/lenovo/thinkpad/x1-extreme>
|
||||||
@ -45,7 +42,7 @@ in
|
|||||||
efiSysMountPoint = "/boot/efi";
|
efiSysMountPoint = "/boot/efi";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
kernelPackages = pkgs.linuxPackages_5_14;
|
kernelPackages = pkgs.linuxPackages_lqx;
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
initrd = {
|
initrd = {
|
||||||
luks.devices."root" = {
|
luks.devices."root" = {
|
||||||
@ -172,6 +169,7 @@ in
|
|||||||
};
|
};
|
||||||
power-profiles-daemon.enable = false;
|
power-profiles-daemon.enable = false;
|
||||||
auto-cpufreq.enable = true;
|
auto-cpufreq.enable = true;
|
||||||
|
tlp.enable = false;
|
||||||
# tlp = {
|
# tlp = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# settings = {
|
# settings = {
|
||||||
@ -201,12 +199,16 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.alex.services.barrier.client = {
|
# home-manager.users.alex.services.barrier.client = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
enableCrypto = false;
|
# enableCrypto = false;
|
||||||
name = "thinkpad";
|
# name = "thinkpad";
|
||||||
server = "192.168.0.150:24800";
|
# server = "192.168.0.150:24800";
|
||||||
};
|
# };
|
||||||
|
|
||||||
|
systemd.extraConfig = ''
|
||||||
|
DefaultTimeoutStopSec=10s
|
||||||
|
'';
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nvidia-offload
|
nvidia-offload
|
||||||
|
BIN
wallpaper.jpg
Normal file
BIN
wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 MiB |
Reference in New Issue
Block a user