update
This commit is contained in:
parent
08ede9e36b
commit
757aa4b137
13 changed files with 114 additions and 19 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
./gui
|
./gui
|
||||||
./shell
|
./shell
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
|
./vim.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
7
src/home/gui/chromium.nix
Normal file
7
src/home/gui/chromium.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./1password.nix
|
./1password.nix
|
||||||
|
./chromium.nix
|
||||||
./discord.nix
|
./discord.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./keyd.nix
|
./keyd.nix
|
||||||
|
|
@ -11,6 +12,7 @@
|
||||||
./slack.nix
|
./slack.nix
|
||||||
./skype.nix
|
./skype.nix
|
||||||
./spotify.nix
|
./spotify.nix
|
||||||
|
./teams.nix
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
./wezterm.nix
|
./wezterm.nix
|
||||||
./xdg-portal.nix
|
./xdg-portal.nix
|
||||||
|
|
@ -19,6 +21,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
xclip
|
||||||
|
wl-clipboard
|
||||||
|
];
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# theme = {
|
# theme = {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
"org/gnome/session" = {
|
||||||
|
idle-delay = 0;
|
||||||
|
};
|
||||||
"org/gnome/shell" = {
|
"org/gnome/shell" = {
|
||||||
disable-user-extensions = false;
|
disable-user-extensions = false;
|
||||||
enabled-extensions = [
|
enabled-extensions = [
|
||||||
|
|
@ -75,9 +78,11 @@
|
||||||
switch-to-application-7 = [];
|
switch-to-application-7 = [];
|
||||||
switch-to-application-8 = [];
|
switch-to-application-8 = [];
|
||||||
switch-to-application-9 = [];
|
switch-to-application-9 = [];
|
||||||
|
show-screenshot-ui = [ "Print" "<Super>o" ];
|
||||||
};
|
};
|
||||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||||
video-out = [ ];
|
video-out = [ ];
|
||||||
|
rotate-video-lock-static = [ "XF88RotationLockToggle" ];
|
||||||
custom-keybindings = [
|
custom-keybindings = [
|
||||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"
|
||||||
];
|
];
|
||||||
|
|
@ -95,9 +100,10 @@
|
||||||
};
|
};
|
||||||
"org/gnome/shell/extensions/pop-shell" = {
|
"org/gnome/shell/extensions/pop-shell" = {
|
||||||
activate-launcher = [ "<Super>Space" ];
|
activate-launcher = [ "<Super>Space" ];
|
||||||
toggle-float = [ "<Super>p" ];
|
toggle-floating = [ "<Super>p" ];
|
||||||
tile-enter = ["<Super>r"];
|
tile-enter = ["<Super>r"];
|
||||||
tile-by-default = true;
|
tile-by-default = true;
|
||||||
|
tile-orientation = [ "<Super>v" ];
|
||||||
toggle-stacking-global = [ "<Super>s" ];
|
toggle-stacking-global = [ "<Super>s" ];
|
||||||
};
|
};
|
||||||
"org/gnome/desktop/background" = {
|
"org/gnome/desktop/background" = {
|
||||||
|
|
@ -106,10 +112,14 @@
|
||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
show-battery-percentage = true;
|
show-battery-percentage = true;
|
||||||
|
clock-format = "12h";
|
||||||
};
|
};
|
||||||
"org/gnome/settings-daemon/plugins/power" = {
|
"org/gnome/settings-daemon/plugins/power" = {
|
||||||
ambient-enabled = false;
|
ambient-enabled = false;
|
||||||
};
|
};
|
||||||
|
"org/gtk/Settings/FileChooser" = {
|
||||||
|
clock-format = "12h";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
custom.persist = {
|
custom.persist = {
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
hide_window_decorations = "yes";
|
hide_window_decorations = "yes";
|
||||||
|
enable_audio_bell = "no";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
stylix.targets.kitty = {
|
stylix.targets.kitty = {
|
||||||
|
|
|
||||||
13
src/home/gui/teams.nix
Normal file
13
src/home/gui/teams.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
teams-for-linux
|
||||||
|
];
|
||||||
|
|
||||||
|
custom.persist = {
|
||||||
|
home.directories = [
|
||||||
|
".config/teams-for-linux"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
16
src/home/vim.nix
Normal file
16
src/home/vim.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
vim-full
|
||||||
|
];
|
||||||
|
|
||||||
|
custom.persist = {
|
||||||
|
home.directories = [
|
||||||
|
".vim"
|
||||||
|
];
|
||||||
|
home.files = [
|
||||||
|
".vimrc"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -21,10 +21,24 @@
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
hardware.framework.amd-7040.preventWakeOnAC = true;
|
hardware.framework.amd-7040.preventWakeOnAC = true;
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
services.libinput.enable = true;
|
|
||||||
|
services.printing.enable = true;
|
||||||
|
services.printing.drivers = with pkgs; [
|
||||||
|
gutenprint
|
||||||
|
cnijfilter2
|
||||||
|
brgenml1lpr
|
||||||
|
brgenml1cupswrapper
|
||||||
|
samsung-unified-linux-driver
|
||||||
|
];
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
custom.touchpad.enable = true;
|
||||||
custom.gnome = {
|
custom.gnome = {
|
||||||
enable = true;
|
enable = true;
|
||||||
stylix = true;
|
stylix = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
{ config, pkgs, inputs, lib, ... }:
|
{ config, pkgs, inputs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
fw-ectool
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
./keyd.nix
|
./keyd.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
./touchpad.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
./zfs.nix
|
./zfs.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,11 @@ in
|
||||||
systemd.services.keyd.serviceConfig.CapabilityBoundingSet = [
|
systemd.services.keyd.serviceConfig.CapabilityBoundingSet = [
|
||||||
"CAP_SETGID"
|
"CAP_SETGID"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.etc."libinput/local-overrides.quirks".text = lib.mkIf config.custom.touchpad.enable ''
|
||||||
|
[Serial Keyboards]
|
||||||
|
MatchUdevType=keyboard
|
||||||
|
MatchName=keyd virtual keyboard
|
||||||
|
AttrKeyboardIntegration=internal
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
15
src/nixos/touchpad.nix
Normal file
15
src/nixos/touchpad.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
options.custom = with lib; {
|
||||||
|
touchpad = {
|
||||||
|
enable = mkEnableOption "Enable touchpad";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.custom.touchpad.enable {
|
||||||
|
services.libinput.enable = true;
|
||||||
|
services.libinput.touchpad.disableWhileTyping = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -7,23 +7,23 @@
|
||||||
package = pkgs.zfs_unstable;
|
package = pkgs.zfs_unstable;
|
||||||
requestEncryptionCredentials = true;
|
requestEncryptionCredentials = true;
|
||||||
};
|
};
|
||||||
boot.kernelPackages =
|
# boot.kernelPackages =
|
||||||
assert lib.assertMsg (lib.versionOlder pkgs.zfs_unstable.version "2.3")
|
# assert lib.assertMsg (lib.versionOlder pkgs.zfs_unstable.version "2.3")
|
||||||
"zfs 2.3 supports kernel 6.11 or greater";
|
# "zfs 2.3 supports kernel 6.11 or greater";
|
||||||
pkgs.linuxPackagesFor (
|
# pkgs.linuxPackagesFor (
|
||||||
pkgs.linux_xanmod_latest.override {
|
# pkgs.linux_xanmod_latest.override {
|
||||||
argsOverride = rec {
|
# argsOverride = rec {
|
||||||
version = "6.10.11";
|
# version = "6.10.11";
|
||||||
modDirVersion = lib.versions.pad 3 "${version}-xanmod1";
|
# modDirVersion = lib.versions.pad 3 "${version}-xanmod1";
|
||||||
src = pkgs.fetchFromGitHub {
|
# src = pkgs.fetchFromGitHub {
|
||||||
owner = "xanmod";
|
# owner = "xanmod";
|
||||||
repo = "linux";
|
# repo = "linux";
|
||||||
rev = modDirVersion;
|
# rev = modDirVersion;
|
||||||
hash = "sha256-FDWFpiN0VvzdXcS3nZHm1HFgASazNX5+pL/8UJ3hkI8=";
|
# hash = "sha256-FDWFpiN0VvzdXcS3nZHm1HFgASazNX5+pL/8UJ3hkI8=";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
# }
|
||||||
);
|
# );
|
||||||
|
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
# https://github.com/openzfs/zfs/issues/10891
|
# https://github.com/openzfs/zfs/issues/10891
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue