mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
update packages to nixos 22.11
This commit is contained in:
parent
f7df96dd61
commit
d9bfcbd706
5 changed files with 42 additions and 8 deletions
|
@ -3,7 +3,8 @@ profile office {
|
|||
# output eDP-1 disable
|
||||
# output "Dell Inc. DELL U2415 08DXD6121ARL" mode 1920x1200 position 0,0 transform 90
|
||||
# output "Dell Inc. DELL S3221QS 4HMVTB3" mode 3840x2160@30Hz position 1200,400 scale 1.25
|
||||
output "Dell Inc. DELL S3221QS 4HMVTB3" mode 3840x2160@30Hz position 1920,0 scale 1.25
|
||||
# output "Dell Inc. DELL S3221QS 4HMVTB3" mode 3840x2160@30Hz position 1920,0 scale 1.25
|
||||
output "Dell Inc. DELL S3221QS 4HMVTB3" mode 3840x2160@30Hz position 1920,0 scale 1
|
||||
# output "Dell Inc. DELL S3221QS 4HMVTB3" mode 2560x1440 position 1920,0
|
||||
# output "Dell Inc. DELL U2419HC 6Z7JSS2" mode 1920x1080 position 1920,420
|
||||
# output "Dell Inc. DELL U2419HC 879JSS2" mode 1920x1080 position 3840,0 transform 90
|
||||
|
|
|
@ -79,6 +79,35 @@ in
|
|||
# enable touchpad support
|
||||
services.xserver.libinput.enable = true;
|
||||
|
||||
# ------------ Nix Config ---------------------------------------------------
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
# the builders-use-substitutes is optional; useful when the builder has a faster internet connection than yours
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
buildMachines = [{
|
||||
hostName = "elm";
|
||||
sshUser = "builder";
|
||||
system = "x86_64-linux";
|
||||
# if the builder supports building for multiple architectures,
|
||||
# replace the previous line by, e.g.,
|
||||
# systems = ["x86_64-linux" "aarch64-linux"];
|
||||
maxJobs = 1;
|
||||
speedFactor = 2;
|
||||
supportedFeatures = [ "big-parallel" "kvm" ];
|
||||
mandatoryFeatures = [ ];
|
||||
publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUNXTk9oL3ozQjZmSXRGd2lTenlqeDBUTnIveUl6bHNsazdEeEtNcE5sdmwgcm9vdEBlbG0K";
|
||||
sshKey = "/home/felix/.ssh/id_ed25519";
|
||||
}] ;
|
||||
|
||||
distributedBuilds = true;
|
||||
settings.trusted-users = [
|
||||
"root"
|
||||
"@wheel"
|
||||
];
|
||||
};
|
||||
|
||||
# ------------ security -----------------------------------------------------
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
|
@ -130,7 +159,7 @@ in
|
|||
bat
|
||||
lsd
|
||||
ripgrep
|
||||
sshfs
|
||||
#sshfs
|
||||
ncdu
|
||||
tldr
|
||||
unzip
|
||||
|
@ -142,6 +171,8 @@ in
|
|||
mosh
|
||||
tmux
|
||||
libqalculate
|
||||
## shell extras
|
||||
nushell
|
||||
## password management
|
||||
pass
|
||||
pinentry-curses
|
||||
|
@ -212,12 +243,11 @@ in
|
|||
## video and media applications
|
||||
unstable.zoom-us
|
||||
teams
|
||||
youtube-dl
|
||||
mpv
|
||||
streamlink
|
||||
ffmpeg-full
|
||||
musikcube
|
||||
## messenger
|
||||
#unstable.ferdium
|
||||
slack
|
||||
tdesktop
|
||||
signal-desktop
|
||||
|
@ -229,7 +259,6 @@ in
|
|||
services.dbus.enable = true;
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
gtkUsePortal = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-kde
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wwan0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
# high-resolution display
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
|
||||
# I'd like a log please
|
||||
logFile = "/var/log/Xorg.0.log";
|
||||
|
||||
# graphics
|
||||
useGlamor = true;
|
||||
};
|
||||
|
||||
environment.etc."X11/xinit/xinitrc".text = ''
|
||||
|
|
|
@ -149,6 +149,12 @@ input "2:7:SynPS/2_Synaptics_TouchPad" {
|
|||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# Move the workspace to another monitor
|
||||
bindsym $mod+Control+Shift+$left move workspace to output left
|
||||
bindsym $mod+Control+Shift+$down move workspace to output down
|
||||
bindsym $mod+Control+Shift+$up move workspace to output up
|
||||
bindsym $mod+Control+Shift+$right move workspace to output right
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue