~
This commit is contained in:
parent
ed029daaa4
commit
13c6277f82
3 changed files with 12 additions and 17 deletions
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
nodes,
|
nodes,
|
||||||
...
|
...
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
mods,
|
|
||||||
sources,
|
|
||||||
nodes,
|
nodes,
|
||||||
users,
|
users,
|
||||||
...
|
...
|
||||||
|
@ -17,7 +13,6 @@
|
||||||
# ./router.nix
|
# ./router.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
||||||
fileSystems."/tmp" = {
|
fileSystems."/tmp" = {
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
device = "tmpfs";
|
device = "tmpfs";
|
||||||
|
@ -28,10 +23,14 @@
|
||||||
"size=12G"
|
"size=12G"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
boot.loader = {
|
boot = {
|
||||||
|
kernel.sysctl."net.ipv4.ip_forward" = true;
|
||||||
|
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nix.settings.trusted-users = [
|
nix.settings.trusted-users = [
|
||||||
"root"
|
"root"
|
||||||
|
@ -144,5 +143,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{
|
{
|
||||||
global =
|
global =
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
mods,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -21,10 +18,8 @@
|
||||||
};
|
};
|
||||||
home =
|
home =
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
mods,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -132,11 +127,11 @@
|
||||||
window.titlebar = false;
|
window.titlebar = false;
|
||||||
colors =
|
colors =
|
||||||
let
|
let
|
||||||
black = "#000000";
|
# black = "#000000";
|
||||||
dark = "#111111";
|
dark = "#111111";
|
||||||
adark = "#111111BB";
|
adark = "#111111BB";
|
||||||
aadark = "#11111177";
|
aadark = "#11111177";
|
||||||
highl = "#222222";
|
# highl = "#222222";
|
||||||
gray = "#777777";
|
gray = "#777777";
|
||||||
white = "#FFFFFF";
|
white = "#FFFFFF";
|
||||||
color = "#FFBB00";
|
color = "#FFBB00";
|
||||||
|
@ -208,6 +203,7 @@
|
||||||
"${modifier}+q" = "kill";
|
"${modifier}+q" = "kill";
|
||||||
"${modifier}+d" = "exec ${menuCmd}";
|
"${modifier}+d" = "exec ${menuCmd}";
|
||||||
"${modifier}+Shift+f" = "exec firefox";
|
"${modifier}+Shift+f" = "exec firefox";
|
||||||
|
"${modifier}+Shift+v" = "exec virt-manager";
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${modifier}+Shift+c" = "reload";
|
||||||
"${modifier}+p" = ''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp -d)" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png'';
|
"${modifier}+p" = ''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp -d)" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png'';
|
||||||
"Print" = "exec ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png";
|
"Print" = "exec ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png";
|
||||||
|
|
Loading…
Reference in a new issue