clean up config + update + rice
This commit is contained in:
416 files changed
+269
-51770
No files matched your search
@@ -125,7 +125,7 @@
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "┌──────────────── Age / Uptime ────────────────┐";
|
||||
format = "┌──────────────── Age + Uptime ────────────────┐";
|
||||
}
|
||||
{
|
||||
type = "disk";
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.zsh.initContent = lib.mkOrder 1500 "${pkgs.fetch}/bin/fetch";
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
||||
font = lib.mkForce {
|
||||
name = "Iosevka Comfy";
|
||||
package = pkgs.iosevka-comfy.comfy;
|
||||
size = 12;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.zsh.shellAliases = {
|
||||
wake-takamaki = "ssh sakamoto .local/bin/wake-takamaki";
|
||||
shutdown-takamaki = "ssh takamaki universal-shutdown";
|
||||
reboot-takamaki = "ssh takamaki universal-reboot";
|
||||
switch-takamaki-os = "ssh takamaki switch-os";
|
||||
apply-config = "zsh -c 'cd /home/grey/nixos; git add .; nh os switch .'";
|
||||
update-system = "zsh -c 'cd /home/grey/nixos; git add .; nh os switch -u .'";
|
||||
};
|
||||
}
|
||||
+20
-16
@@ -13,9 +13,11 @@ in {
|
||||
../../global-default.nix
|
||||
./hardware-configuration.nix
|
||||
"${modules-dir}/zsh.nix"
|
||||
"${modules-dir}/display-managers/lightdm.nix"
|
||||
"${modules-dir}/display-managers/ly.nix"
|
||||
"${modules-dir}/window-managers/niri.nix"
|
||||
"${modules-dir}/nautilus.nix"
|
||||
./modules/hardware-fixes.nix
|
||||
./modules/plymouth.nix
|
||||
];
|
||||
|
||||
nix.buildMachines = [
|
||||
@@ -23,11 +25,12 @@ in {
|
||||
hostName = "nixremote";
|
||||
systems = [ "x86_64-linux" "i686-linux" ];
|
||||
protocol = "ssh-ng";
|
||||
maxJobs = 25;
|
||||
speedFactor = 100;
|
||||
maxJobs = 250;
|
||||
speedFactor = 1000;
|
||||
supportedFeatures = [ "benchmark" "kvm" "big-parallel" ];
|
||||
}
|
||||
];
|
||||
|
||||
nix.distributedBuilds = true;
|
||||
nix.settings.builders-use-substitutes = true;
|
||||
|
||||
@@ -41,29 +44,30 @@ in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
github-desktop
|
||||
moonlight-qt
|
||||
steam-run
|
||||
unityhub
|
||||
];
|
||||
|
||||
hardware.steam-hardware.enable = true;
|
||||
|
||||
boot.loader.limine = {
|
||||
enable = true;
|
||||
maxGenerations = 10;
|
||||
};
|
||||
boot = {
|
||||
# Enable "Silent boot"
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
"rd.udev.log_level=3"
|
||||
"rd.systemd.show_status=auto"
|
||||
];
|
||||
|
||||
services.iio-niri.enable = true;
|
||||
loader.limine = {
|
||||
enable = true;
|
||||
maxGenerations = 10;
|
||||
};
|
||||
};
|
||||
|
||||
stylix.enable = true;
|
||||
stylix.image = ../../assets/wallpapers/kitagawa.jpg;
|
||||
stylix.polarity = "dark";
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
||||
programs.nautilus-open-any-terminal = {
|
||||
enable = true;
|
||||
terminal = "kitty";
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
|
||||
+10
-12
@@ -9,7 +9,6 @@ global-configs = ../../global-configs;
|
||||
in {
|
||||
imports = [
|
||||
../../global-home.nix
|
||||
./configs/fastfetch.nix
|
||||
"${global-configs}/zsh.nix"
|
||||
"${global-configs}/kitty.nix"
|
||||
"${global-configs}/floorp.nix"
|
||||
@@ -18,7 +17,10 @@ in {
|
||||
"${global-configs}/equibop.nix"
|
||||
"${global-configs}/spicetify.nix"
|
||||
"${global-configs}/niri.nix"
|
||||
#./configs/flatpak.nix
|
||||
./configs/kitty.nix
|
||||
./configs/fastfetch.nix
|
||||
#./configs/fetch.nix
|
||||
./configs/zsh.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
@@ -29,9 +31,6 @@ in {
|
||||
proton-vpn
|
||||
ente-auth
|
||||
signal-desktop
|
||||
hyperfine
|
||||
nautilus
|
||||
code-nautilus
|
||||
xarchiver
|
||||
kdePackages.filelight
|
||||
remmina
|
||||
@@ -99,16 +98,15 @@ in {
|
||||
User = "grey";
|
||||
IdentityFile = "~/.ssh/id_sakamoto";
|
||||
};
|
||||
"nixremote" = {
|
||||
HostName = "greyweather.dev";
|
||||
Port = "2222";
|
||||
User = "nixremote";
|
||||
IdentityFile = "~/.ssh/id_takamaki";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
wake-takamaki = "ssh sakamoto .local/bin/wake-takamaki";
|
||||
shutdown-takamaki = "ssh takamaki universal-shutdown";
|
||||
reboot-takamaki = "ssh takamaki universal-reboot";
|
||||
switch-takamaki-os = "ssh takamaki switch-os";
|
||||
};
|
||||
|
||||
home.activation = {
|
||||
linkRemminaPresets = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
#!/bin/bash
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "root";
|
||||
ExecStart = "${pkgs.busybox}/bin/sh -c \"if [ \\\"$(cat /proc/acpi/wakeup | grep 'LID' | grep 'enabled')\\\" != \\\"\\\" ]; then echo LID > /proc/acpi/wakeup; fi\"";
|
||||
ExecStart = "/bin/sh -c \"if [ \\\"$(cat /proc/acpi/wakeup | grep 'LID' | grep 'enabled')\\\" != \\\"\\\" ]; then echo LID > /proc/acpi/wakeup; fi\"";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -26,7 +26,11 @@
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "root";
|
||||
ExecStart = "${pkgs.busybox}/bin/sh -c \"${pkgs.kbd}/bin/dumpkeys -k|grep -v Incr_Console|grep -v Decr_Console|${pkgs.kbd}/bin/loadkeys\"";
|
||||
ExecStart = "/bin/sh -c \"${pkgs.kbd}/bin/dumpkeys -k|grep -v Incr_Console|grep -v Decr_Console|${pkgs.kbd}/bin/loadkeys\"";
|
||||
};
|
||||
};
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
||||
services.iio-niri.enable = true;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
plymouthTheme = "double";
|
||||
in {
|
||||
stylix.targets.plymouth.enable = false;
|
||||
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
theme = plymouthTheme;
|
||||
themePackages = with pkgs; [
|
||||
(adi1090x-plymouth-themes.override {
|
||||
selected_themes = [ plymouthTheme ];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user