mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-27 18:09:26 +02:00
chore: format code
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
home = {
|
home = {
|
||||||
inherit username;
|
inherit username;
|
||||||
|
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
# This value determines the Home Manager release that your
|
||||||
# configuration is compatible with. This helps avoid breakage
|
# configuration is compatible with. This helps avoid breakage
|
||||||
# when a new Home Manager release introduces backwards
|
# when a new Home Manager release introduces backwards
|
||||||
|
|||||||
@@ -30,8 +30,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# consistent with wezterm
|
# consistent with wezterm
|
||||||
keybindings =
|
keybindings = {
|
||||||
{
|
|
||||||
"ctrl+shift+m" = "toggle_maximized";
|
"ctrl+shift+m" = "toggle_maximized";
|
||||||
"ctrl+shift+f" = "show_scrollback"; # search in the current window
|
"ctrl+shift+f" = "show_scrollback"; # search in the current window
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
|
{
|
||||||
{config, username, ...}: let
|
config,
|
||||||
|
username,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
d = config.xdg.dataHome;
|
d = config.xdg.dataHome;
|
||||||
c = config.xdg.configHome;
|
c = config.xdg.configHome;
|
||||||
cache = config.xdg.cacheHome;
|
cache = config.xdg.cacheHome;
|
||||||
in rec {
|
in rec {
|
||||||
|
|
||||||
home.homeDirectory = "/home/${username}";
|
home.homeDirectory = "/home/${username}";
|
||||||
|
|
||||||
# environment variables that always set at login
|
# environment variables that always set at login
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
{pkgs, pkgs-unstable, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
pkgs-unstable,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# GUI apps
|
# GUI apps
|
||||||
# e-book viewer(.epub/.mobi/...)
|
# e-book viewer(.epub/.mobi/...)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
hardware.firmware = [
|
hardware.firmware = [
|
||||||
(import ./brcm-firmware { inherit pkgs;})
|
(import ./brcm-firmware {inherit pkgs;})
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{nixos-rk3588, ...}:
|
||||||
nixos-rk3588,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# Aquamarine - A NixOS VM running on Proxmox
|
# Aquamarine - A NixOS VM running on Proxmox
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
{lib, nixpkgs, ...}: {
|
{
|
||||||
|
lib,
|
||||||
|
nixpkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
# make `nix run nixpkgs#nixpkgs` use the same nixpkgs as the one used by this flake.
|
# make `nix run nixpkgs#nixpkgs` use the same nixpkgs as the one used by this flake.
|
||||||
nix.registry.nixpkgs.flake = nixpkgs;
|
nix.registry.nixpkgs.flake = nixpkgs;
|
||||||
nix.channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
|
nix.channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
|
||||||
|
|||||||
@@ -35,7 +35,6 @@
|
|||||||
"adbusers"
|
"adbusers"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
users.users.root = {
|
users.users.root = {
|
||||||
initialHashedPassword = "$7$CU..../....X6uvZYnFD.i1CqqFFNl4./$4vgqzIPyw5XBr0aCDFbY/UIRRJr7h5SMGoQ/ZvX3FP2";
|
initialHashedPassword = "$7$CU..../....X6uvZYnFD.i1CqqFFNl4./$4vgqzIPyw5XBr0aCDFbY/UIRRJr7h5SMGoQ/ZvX3FP2";
|
||||||
|
|||||||
Reference in New Issue
Block a user