conf conf

This commit is contained in:
alisceon 2025-08-25 10:01:53 +02:00
parent 534652294a
commit b3857cb01f
7 changed files with 76 additions and 4 deletions

View file

@ -45,13 +45,13 @@
modules = sharedModules ++ [
./hosts/common/workstation.nix
./hosts/electra/configuration.nix
./hosts/common/wm/sway.nix
./hosts/common/wm/gnome.nix
home-manager.nixosModules.home-manager
({ config, ...}: {
home-manager.users.alisceon.imports = [
./home/alisceon/base.nix
./home/alisceon/workstation.nix
./home/wm/sway.nix
./home/wm/gnome.nix
];
}) # end home-manager
]; # end modules

View file

@ -101,7 +101,6 @@
silent = true;
}; # end direnv
}; # end programs
# nixpkgs config
xdg.configFile."nixpkgs/config.nix".source = ../conf/config.nix;
} # end file

View file

@ -31,6 +31,14 @@
userDirs.enable = true;
mime.enable = true;
};
gtk = {
enable = true;
cursorTheme.package = pkgs.vanilla-dmz;
cursorTheme.name = "Vanilla-DMZ";
font.package = pkgs.inconsolata;
font.name = "Inconsolata";
font.size = 14;
};
services.syncthing = {
enable = true;

View file

@ -38,6 +38,36 @@
};
"org/gnome/shell/keybindings" = {
show-screenshot-ui = [ "<Shift><Super>s" ];
};
"org/gnome/desktop/wm/keybindings" = {
switch-to-workspace-1 = [ "<Super>1" ];
switch-to-workspace-2 = [ "<Super>2" ];
switch-to-workspace-3 = [ "<Super>3" ];
switch-to-workspace-4 = [ "<Super>4" ];
switch-to-workspace-5 = [ "<Super>5" ];
switch-to-workspace-6 = [ "<Super>6" ];
switch-to-workspace-7 = [ "<Super>7" ];
switch-to-workspace-8 = [ "<Super>8" ];
switch-to-workspace-9 = [ "<Super>9" ];
switch-to-workspace-10 = [ "<Super>0" ];
move-to-workspace-1 = [ "<Shift><Super>1" ];
move-to-workspace-2 = [ "<Shift><Super>2" ];
move-to-workspace-3 = [ "<Shift><Super>3" ];
move-to-workspace-4 = [ "<Shift><Super>4" ];
move-to-workspace-5 = [ "<Shift><Super>5" ];
move-to-workspace-6 = [ "<Shift><Super>6" ];
move-to-workspace-7 = [ "<Shift><Super>7" ];
move-to-workspace-8 = [ "<Shift><Super>8" ];
move-to-workspace-9 = [ "<Shift><Super>9" ];
move-to-workspace-10 = [ "<Shift><Super>0" ];
close = [ "<Alt>F4" "<Shift><Super>q" ];
toggle-fullscreen = [ "<Super>f" ];
};
"org/gnome/desktop/wm/preferences" = {
focus-mode = "mouse";
auto-raise = true;
auto-raise-delay = 500;
};
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [

View file

@ -251,6 +251,28 @@
}
]; # end events
}; # end swayidle
mako = {
enable = true;
settings = {
"actionable=true" = {
anchor = "top-left";
};
actions = true;
anchor = "top-right";
background-color = color_f_bg;
border-color = color_f_bg;
border-radius = 0;
default-timeout = 0;
font = "${style_font} ${style_font_sz}";
height = 100;
width = 300;
icons = true;
ignore-timeout = false;
layer = "top";
margin = 10;
markup = true;
}; #end settings
}; # end mako
}; # end services
programs = {
rofi = {

View file

@ -79,6 +79,10 @@
eza # ls replacement
nh # nix helper
jq # JSON processor
ncdu
pciutils
usbutils
tree
# Shells
bash
@ -109,4 +113,6 @@
extraGroups = [ "wheel" "networkmanager" "podman" ];
shell = pkgs.nushell;
}; # end users
programs.command-not-found.enable = true;
} #end file

View file

@ -19,7 +19,14 @@
enable = true;
}; # end light
}; # end programs
security.polkit.enable = true;
security = {
polkit.enable = true;
pam.services = {
greetd.enableGnomeKeyring = true;
greetd-password.enableGnomeKeyring = true;
login.enableGnomeKeyring = true;
}; # end pam.services
}; # end security
services = {
greetd = {
enable = true;