sed 's/_: {/{/g'

This commit is contained in:
Guanran Wang 2024-01-15 12:18:06 +08:00
parent 5ded322805
commit 4285f6330d
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
42 changed files with 42 additions and 42 deletions

View file

@ -1,5 +1,5 @@
# iMac 18,3 (2017) # iMac 18,3 (2017)
_: { {
networking.knownNetworkServices = [ networking.knownNetworkServices = [
"Ethernet" "Ethernet"
"Wi-Fi" "Wi-Fi"

View file

@ -1,4 +1,4 @@
_: { {
networking.dns = [ networking.dns = [
### AliDNS ### AliDNS
"223.5.5.5" "223.5.5.5"

View file

@ -1,4 +1,4 @@
_: { {
nix = { nix = {
### Auto hard linking ### Auto hard linking
settings.auto-optimise-store = true; settings.auto-optimise-store = true;

View file

@ -1,4 +1,4 @@
_: { {
homebrew.casks = [ homebrew.casks = [
"steam" "steam"
]; ];

View file

@ -1,4 +1,4 @@
_: { {
homebrew = { homebrew = {
enable = true; enable = true;
casks = [ casks = [

View file

@ -1,4 +1,4 @@
_: { {
boot.kernel.sysctl = { boot.kernel.sysctl = {
### https://madaidans-insecurities.github.io/guides/linux-hardening.html#sysctl ### https://madaidans-insecurities.github.io/guides/linux-hardening.html#sysctl
# Kernel self-protection # Kernel self-protection

View file

@ -1,4 +1,4 @@
_: { {
networking.wireless.iwd.enable = true; networking.wireless.iwd.enable = true;
networking.nameservers = [ networking.nameservers = [
### AliDNS ### AliDNS

View file

@ -1,4 +1,4 @@
_: { {
nix = { nix = {
### Auto hard linking ### Auto hard linking
settings.auto-optimise-store = true; settings.auto-optimise-store = true;

View file

@ -1,4 +1,4 @@
_: { {
services.flatpak.enable = true; services.flatpak.enable = true;
services.gnome.core-utilities.enable = false; # remove default gnome pkgs, for example, gnome-music, to use flatpaks instead services.gnome.core-utilities.enable = false; # remove default gnome pkgs, for example, gnome-music, to use flatpaks instead

View file

@ -1,4 +1,4 @@
_: { {
boot.loader = { boot.loader = {
grub.enable = true; grub.enable = true;
grub.device = "/dev/vda"; # or "nodev" for efi only grub.device = "/dev/vda"; # or "nodev" for efi only

View file

@ -1,4 +1,4 @@
_: { {
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
} }

View file

@ -1,3 +1,3 @@
_: { {
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
services.zram-generator = { services.zram-generator = {
enable = true; enable = true;
settings.zram0 = { settings.zram0 = {

View file

@ -1,4 +1,4 @@
_: { {
networking.stevenblack.enable = true; networking.stevenblack.enable = true;
services.system76-scheduler.enable = true; services.system76-scheduler.enable = true;
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;

View file

@ -1,4 +1,4 @@
_: { {
### home-manager ### home-manager
home-manager.users.guanranwang = import ./home; home-manager.users.guanranwang = import ./home;
} }

View file

@ -1,4 +1,4 @@
_: { {
imports = [ imports = [
../common/core ../common/core
]; ];

View file

@ -1,4 +1,4 @@
_: { {
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
settings.env.WINIT_X11_SCALE_FACTOR = "1"; # workaround for scaling in X11 settings.env.WINIT_X11_SCALE_FACTOR = "1"; # workaround for scaling in X11

View file

@ -1,4 +1,4 @@
_: { {
programs.bat.enable = true; programs.bat.enable = true;
home.sessionVariables = { home.sessionVariables = {
"MANPAGER" = "sh -c 'col -bx | bat -l man -p'"; "MANPAGER" = "sh -c 'col -bx | bat -l man -p'";

View file

@ -1,3 +1,3 @@
_: { {
services.batsignal.enable = true; services.batsignal.enable = true;
} }

View file

@ -1,3 +1,3 @@
_: { {
programs.bottom.enable = true; programs.bottom.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
programs.chromium = { programs.chromium = {
enable = true; enable = true;
#package = pkgs.ungoogled-chromium; #package = pkgs.ungoogled-chromium;

View file

@ -1,3 +1,3 @@
_: { {
services.cliphist.enable = true; services.cliphist.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
programs.eza = { programs.eza = {
enable = true; enable = true;
git = true; git = true;

View file

@ -1,3 +1,3 @@
_: { {
programs.foot.enable = true; programs.foot.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
programs.git = { programs.git = {
enable = true; enable = true;
userName = "Guanran Wang"; userName = "Guanran Wang";

View file

@ -1,4 +1,4 @@
_: { {
programs.i3status-rust = { programs.i3status-rust = {
enable = true; enable = true;
bars = { bars = {

View file

@ -1,3 +1,3 @@
_: { {
programs.joshuto.enable = true; programs.joshuto.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
settings.confirm_os_window_close = 0; settings.confirm_os_window_close = 0;

View file

@ -1,4 +1,4 @@
_: { {
programs.mangohud = { programs.mangohud = {
enable = true; enable = true;
# TODO: add configuration, i have no idea how to display stuff with nix syntax # TODO: add configuration, i have no idea how to display stuff with nix syntax

View file

@ -1,4 +1,4 @@
_: { {
services.polybar = { services.polybar = {
enable = true; enable = true;
script = "polybar bar"; script = "polybar bar";

View file

@ -1,3 +1,3 @@
_: { {
programs.ripgrep.enable = true; programs.ripgrep.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
programs.skim = { programs.skim = {
enable = true; enable = true;
defaultCommand = "rg --files || fd --type f || find ."; defaultCommand = "rg --files || fd --type f || find .";

View file

@ -1,4 +1,4 @@
_: { {
services.sxhkd = { services.sxhkd = {
enable = true; enable = true;
keybindings = { keybindings = {

View file

@ -1,3 +1,3 @@
_: { {
programs.tealdeer.enable = true; programs.tealdeer.enable = true;
} }

View file

@ -1,3 +1,3 @@
_: { {
services.udiskie.enable = true; services.udiskie.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
programs.wezterm = { programs.wezterm = {
enable = true; enable = true;
extraConfig = '' extraConfig = ''

View file

@ -1,4 +1,4 @@
_: { {
programs.zellij = { programs.zellij = {
enable = true; enable = true;
enableFishIntegration = true; enableFishIntegration = true;

View file

@ -1,3 +1,3 @@
_: { {
programs.zoxide.enable = true; programs.zoxide.enable = true;
} }

View file

@ -1,3 +1,3 @@
_: { {
home-manager.users.guanranwang = import ./home; home-manager.users.guanranwang = import ./home;
} }

View file

@ -1,3 +1,3 @@
_: { {
services.batsignal.enable = true; services.batsignal.enable = true;
} }

View file

@ -1,4 +1,4 @@
_: { {
### home-manager ### home-manager
home-manager.users.guanranwang.imports = [./home]; home-manager.users.guanranwang.imports = [./home];

View file

@ -1,4 +1,4 @@
_: { {
### home-manager ### home-manager
home-manager.users.guanranwang = import ./home; home-manager.users.guanranwang = import ./home;
} }