final hp commit
This commit is contained in:
parent
b825d0dda3
commit
ad427500ad
5 changed files with 35 additions and 10 deletions
|
@ -33,7 +33,7 @@ floating_modifier $mod normal
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||||
bindsym $mod+Shift+p exec keepassxc
|
bindsym $mod+Shift+p exec keepassxc
|
||||||
bindsym $mod+z exec swaylock -t
|
bindsym $mod+z exec swaylock -t -i /home/stefan/Downloads/bg.jpg
|
||||||
bindsym $mod+Up exec light -A 5
|
bindsym $mod+Up exec light -A 5
|
||||||
bindsym $mod+Down exec light -U 5
|
bindsym $mod+Down exec light -U 5
|
||||||
bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png
|
bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png
|
||||||
|
@ -146,3 +146,10 @@ include /etc/sway/config.d/*
|
||||||
exec mako --border-color=#cc6666 \
|
exec mako --border-color=#cc6666 \
|
||||||
--background-color=#2d2a2eee
|
--background-color=#2d2a2eee
|
||||||
exec emacs --daemon
|
exec emacs --daemon
|
||||||
|
|
||||||
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
|
exec_always {
|
||||||
|
gsettings set $gnome-schema gtk-theme 'Arc-Dark'
|
||||||
|
gsettings set $gnome-schema icon-theme 'elementary Xfce'
|
||||||
|
gsettings set $gnome-schema cursor-theme 'Capitaine Cursors - White'
|
||||||
|
}
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||||
<nixos-hardware/common/cpu/amd>
|
<nixos-hardware/common/cpu/amd>
|
||||||
|
@ -29,7 +31,9 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.kernelParams = [ "amdgpu.dpm=1" ];
|
boot.kernelParams = [ "amdgpu.dpm=1" ];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
#boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
boot.kernelPackages = unstable.linuxPackages_latest;
|
||||||
|
#boot.kernelPackages = unstable.linux_testing;
|
||||||
|
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
|
@ -81,7 +81,7 @@ precmd_user_func = "title"
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.stefan = {
|
users.users.stefan = {
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" "dialout" ];
|
||||||
home = "/home/stefan";
|
home = "/home/stefan";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
|
|
|
@ -43,6 +43,7 @@ in {
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# firefox also needs:
|
# firefox also needs:
|
||||||
#
|
#
|
||||||
|
@ -51,7 +52,7 @@ in {
|
||||||
#
|
#
|
||||||
# check in `about:support` that
|
# check in `about:support` that
|
||||||
# * Composing -> Webrenderer
|
# * Composing -> Webrenderer
|
||||||
unstable.firefox-bin
|
firefox-bin
|
||||||
libva
|
libva
|
||||||
libva-utils
|
libva-utils
|
||||||
mesa
|
mesa
|
||||||
|
@ -60,9 +61,13 @@ in {
|
||||||
mypaint
|
mypaint
|
||||||
mypaint-brushes
|
mypaint-brushes
|
||||||
|
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
glib # provides gsettings
|
||||||
|
arc-theme
|
||||||
capitaine-cursors
|
capitaine-cursors
|
||||||
elementary-xfce-icon-theme
|
elementary-xfce-icon-theme
|
||||||
hicolor-icon-theme
|
hicolor-icon-theme
|
||||||
|
numix-icon-theme
|
||||||
|
|
||||||
alacritty
|
alacritty
|
||||||
imv
|
imv
|
||||||
|
@ -71,14 +76,14 @@ in {
|
||||||
libsecret
|
libsecret
|
||||||
lxappearance
|
lxappearance
|
||||||
mumble
|
mumble
|
||||||
mumble
|
|
||||||
neofetch
|
neofetch
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
pcmanfm
|
||||||
pulseaudio
|
pulseaudio
|
||||||
pulsemixer
|
pulsemixer
|
||||||
unstable.keepassxc
|
unstable.keepassxc
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
xfce.thunar
|
xdg_utils
|
||||||
(
|
(
|
||||||
pkgs.writeTextFile {
|
pkgs.writeTextFile {
|
||||||
name = "startsway";
|
name = "startsway";
|
||||||
|
@ -88,12 +93,12 @@ in {
|
||||||
#! ${pkgs.bash}/bin/bash
|
#! ${pkgs.bash}/bin/bash
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NOREPARENTING=1
|
export _JAVA_AWT_WM_NOREPARENTING=1
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1 export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
||||||
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
|
||||||
export QT_WAYLAND_FORCE_DPI=96
|
export QT_WAYLAND_FORCE_DPI=96
|
||||||
export QT_QPA_PLATFORM=wayland-egl
|
export QT_QPA_PLATFORM=wayland-egl
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
exec ${pkgs.dbus}/bin/dbus-run-session ${pkgs.sway}/bin/sway
|
|
||||||
|
${pkgs.dbus}/bin/dbus-run-session ${pkgs.sway}/bin/sway
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -112,6 +117,8 @@ in {
|
||||||
dataDir = "/home/stefan";
|
dataDir = "/home/stefan";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.avahi.enable = true;
|
||||||
|
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.printing.drivers = [
|
services.printing.drivers = [
|
||||||
pkgs.gutenprint
|
pkgs.gutenprint
|
||||||
|
|
|
@ -7,6 +7,13 @@ let
|
||||||
unstable = import <nixos-unstable> {};
|
unstable = import <nixos-unstable> {};
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
arduino
|
||||||
|
avrdude
|
||||||
|
pkgsCross.avr.avrlibc
|
||||||
|
pkgsCross.avr.libcCross
|
||||||
|
pkgsCross.avr.buildPackages.gcc8
|
||||||
|
pkgsCross.avr.buildPackages.binutils
|
||||||
|
|
||||||
go
|
go
|
||||||
python37
|
python37
|
||||||
python37Packages.pyls-black
|
python37Packages.pyls-black
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue