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 eDP-1 disable
|
||||||
# output "Dell Inc. DELL U2415 08DXD6121ARL" mode 1920x1200 position 0,0 transform 90
|
# 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 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 S3221QS 4HMVTB3" mode 2560x1440 position 1920,0
|
||||||
# output "Dell Inc. DELL U2419HC 6Z7JSS2" mode 1920x1080 position 1920,420
|
# output "Dell Inc. DELL U2419HC 6Z7JSS2" mode 1920x1080 position 1920,420
|
||||||
# output "Dell Inc. DELL U2419HC 879JSS2" mode 1920x1080 position 3840,0 transform 90
|
# output "Dell Inc. DELL U2419HC 879JSS2" mode 1920x1080 position 3840,0 transform 90
|
||||||
|
|
|
@ -79,6 +79,35 @@ in
|
||||||
# enable touchpad support
|
# enable touchpad support
|
||||||
services.xserver.libinput.enable = true;
|
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 -----------------------------------------------------
|
# ------------ security -----------------------------------------------------
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
@ -130,7 +159,7 @@ in
|
||||||
bat
|
bat
|
||||||
lsd
|
lsd
|
||||||
ripgrep
|
ripgrep
|
||||||
sshfs
|
#sshfs
|
||||||
ncdu
|
ncdu
|
||||||
tldr
|
tldr
|
||||||
unzip
|
unzip
|
||||||
|
@ -142,6 +171,8 @@ in
|
||||||
mosh
|
mosh
|
||||||
tmux
|
tmux
|
||||||
libqalculate
|
libqalculate
|
||||||
|
## shell extras
|
||||||
|
nushell
|
||||||
## password management
|
## password management
|
||||||
pass
|
pass
|
||||||
pinentry-curses
|
pinentry-curses
|
||||||
|
@ -212,12 +243,11 @@ in
|
||||||
## video and media applications
|
## video and media applications
|
||||||
unstable.zoom-us
|
unstable.zoom-us
|
||||||
teams
|
teams
|
||||||
youtube-dl
|
|
||||||
mpv
|
mpv
|
||||||
streamlink
|
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
musikcube
|
musikcube
|
||||||
## messenger
|
## messenger
|
||||||
|
#unstable.ferdium
|
||||||
slack
|
slack
|
||||||
tdesktop
|
tdesktop
|
||||||
signal-desktop
|
signal-desktop
|
||||||
|
@ -229,7 +259,6 @@ in
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
gtkUsePortal = true;
|
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
xdg-desktop-portal-kde
|
xdg-desktop-portal-kde
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wwan0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wwan0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
# high-resolution display
|
# high-resolution display
|
||||||
|
|
|
@ -14,9 +14,6 @@
|
||||||
|
|
||||||
# I'd like a log please
|
# I'd like a log please
|
||||||
logFile = "/var/log/Xorg.0.log";
|
logFile = "/var/log/Xorg.0.log";
|
||||||
|
|
||||||
# graphics
|
|
||||||
useGlamor = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc."X11/xinit/xinitrc".text = ''
|
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+Down move down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
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:
|
# Workspaces:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue