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