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)
_: {
{
networking.knownNetworkServices = [
"Ethernet"
"Wi-Fi"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
_: {
{
services.flatpak.enable = true;
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 = {
grub.enable = true;
grub.device = "/dev/vda"; # or "nodev" for efi only

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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