Define imv keys, switch to btop, put stateful data in per-system config
This commit is contained in:
parent
0d212ce643
commit
a589e07a6c
29 changed files with 121 additions and 114 deletions
9
modules/home/settings/cursor/default.nix
Normal file
9
modules/home/settings/cursor/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
name = "Simp1e-Dark";
|
||||
package = pkgs.simp1e-cursors;
|
||||
size = 24;
|
||||
};
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./cursor
|
||||
./dconf
|
||||
./fonts
|
||||
./gtk
|
||||
./nix
|
||||
./xdg
|
||||
];
|
||||
}
|
||||
|
|
11
modules/home/settings/gtk/bookmarks/default.nix
Normal file
11
modules/home/settings/gtk/bookmarks/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
gtk.gtk3.bookmarks = [
|
||||
"file:///home/${config.home.username}/Keepers"
|
||||
"file:///home/${config.home.username}/Downloads"
|
||||
"file:///home/${config.home.username}/Documents"
|
||||
"file:///home/${config.home.username}/Videos"
|
||||
"file:///home/${config.home.username}/Pictures/Screenshots"
|
||||
"file:///etc/nixos"
|
||||
];
|
||||
}
|
20
modules/home/settings/gtk/css/default.nix
Normal file
20
modules/home/settings/gtk/css/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }:
|
||||
{
|
||||
gtk = {
|
||||
# Disable shadows
|
||||
gtk3.extraCss = ''
|
||||
* { outline-width: 0px; }
|
||||
decoration { box-shadow: none; }
|
||||
'';
|
||||
|
||||
# Prevent GTK4 rounding
|
||||
gtk4.extraCss = ''
|
||||
window {
|
||||
border-top-left-radius:0;
|
||||
border-top-right-radius:0;
|
||||
border-bottom-left-radius:0;
|
||||
border-bottom-right-radius:0;
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -1,5 +1,10 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./bookmarks
|
||||
./css
|
||||
];
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
font = {
|
||||
|
@ -25,36 +30,5 @@
|
|||
color = "${config.look.colors.folder}";
|
||||
};
|
||||
};
|
||||
cursorTheme = {
|
||||
package = pkgs.simp1e-cursors;
|
||||
name = "Simp1e-Dark";
|
||||
};
|
||||
|
||||
gtk3 = {
|
||||
bookmarks = [
|
||||
"file:///home/jimbo/Keepers"
|
||||
"file:///home/jimbo/Downloads"
|
||||
"file:///home/jimbo/Documents"
|
||||
"file:///home/jimbo/Videos"
|
||||
"file:///home/jimbo/Pictures/Screenshots"
|
||||
"file:///etc/nixos"
|
||||
];
|
||||
|
||||
# Disable shadows
|
||||
extraCss = ''
|
||||
* { outline-width: 0px; }
|
||||
decoration { box-shadow: none; }
|
||||
'';
|
||||
};
|
||||
|
||||
# Stop gtk4 from being rounded
|
||||
gtk4.extraCss = ''
|
||||
window {
|
||||
border-top-left-radius:0;
|
||||
border-top-right-radius:0;
|
||||
border-bottom-left-radius:0;
|
||||
border-bottom-right-radius:0;
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home.stateVersion = "24.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue