conf conf
This commit is contained in:
parent
534652294a
commit
b3857cb01f
7 changed files with 76 additions and 4 deletions
|
|
@ -45,13 +45,13 @@
|
||||||
modules = sharedModules ++ [
|
modules = sharedModules ++ [
|
||||||
./hosts/common/workstation.nix
|
./hosts/common/workstation.nix
|
||||||
./hosts/electra/configuration.nix
|
./hosts/electra/configuration.nix
|
||||||
./hosts/common/wm/sway.nix
|
./hosts/common/wm/gnome.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
({ config, ...}: {
|
({ config, ...}: {
|
||||||
home-manager.users.alisceon.imports = [
|
home-manager.users.alisceon.imports = [
|
||||||
./home/alisceon/base.nix
|
./home/alisceon/base.nix
|
||||||
./home/alisceon/workstation.nix
|
./home/alisceon/workstation.nix
|
||||||
./home/wm/sway.nix
|
./home/wm/gnome.nix
|
||||||
];
|
];
|
||||||
}) # end home-manager
|
}) # end home-manager
|
||||||
]; # end modules
|
]; # end modules
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,6 @@
|
||||||
silent = true;
|
silent = true;
|
||||||
}; # end direnv
|
}; # end direnv
|
||||||
}; # end programs
|
}; # end programs
|
||||||
|
|
||||||
# nixpkgs config
|
# nixpkgs config
|
||||||
xdg.configFile."nixpkgs/config.nix".source = ../conf/config.nix;
|
xdg.configFile."nixpkgs/config.nix".source = ../conf/config.nix;
|
||||||
} # end file
|
} # end file
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,14 @@
|
||||||
userDirs.enable = true;
|
userDirs.enable = true;
|
||||||
mime.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 = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,36 @@
|
||||||
};
|
};
|
||||||
"org/gnome/shell/keybindings" = {
|
"org/gnome/shell/keybindings" = {
|
||||||
show-screenshot-ui = [ "<Shift><Super>s" ];
|
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" = {
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||||
custom-keybindings = [
|
custom-keybindings = [
|
||||||
|
|
|
||||||
|
|
@ -251,6 +251,28 @@
|
||||||
}
|
}
|
||||||
]; # end events
|
]; # end events
|
||||||
}; # end swayidle
|
}; # 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
|
}; # end services
|
||||||
programs = {
|
programs = {
|
||||||
rofi = {
|
rofi = {
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,10 @@
|
||||||
eza # ls replacement
|
eza # ls replacement
|
||||||
nh # nix helper
|
nh # nix helper
|
||||||
jq # JSON processor
|
jq # JSON processor
|
||||||
|
ncdu
|
||||||
|
pciutils
|
||||||
|
usbutils
|
||||||
|
tree
|
||||||
|
|
||||||
# Shells
|
# Shells
|
||||||
bash
|
bash
|
||||||
|
|
@ -109,4 +113,6 @@
|
||||||
extraGroups = [ "wheel" "networkmanager" "podman" ];
|
extraGroups = [ "wheel" "networkmanager" "podman" ];
|
||||||
shell = pkgs.nushell;
|
shell = pkgs.nushell;
|
||||||
}; # end users
|
}; # end users
|
||||||
|
|
||||||
|
programs.command-not-found.enable = true;
|
||||||
} #end file
|
} #end file
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,14 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
}; # end light
|
}; # end light
|
||||||
}; # end programs
|
}; # 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 = {
|
services = {
|
||||||
greetd = {
|
greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue