mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
update ama_nix config
This commit is contained in:
parent
5570e49412
commit
dcfe5b1435
12
flake.nix
12
flake.nix
|
@ -6,9 +6,9 @@
|
||||||
# ---- SYSTEM SETTINGS ---- #
|
# ---- SYSTEM SETTINGS ---- #
|
||||||
systemSettings = {
|
systemSettings = {
|
||||||
system = "x86_64-linux"; # system arch
|
system = "x86_64-linux"; # system arch
|
||||||
hostname = "snowfire"; # hostname
|
hostname = "ama_nix"; # hostname
|
||||||
profile = "personal"; # select a profile defined from my profiles directory
|
profile = "personal"; # select a profile defined from my profiles directory
|
||||||
timezone = "America/Chicago"; # select timezone
|
timezone = "Asia/Shanghai"; # select timezone
|
||||||
locale = "en_US.UTF-8"; # select locale
|
locale = "en_US.UTF-8"; # select locale
|
||||||
bootMode = "uefi"; # uefi or bios
|
bootMode = "uefi"; # uefi or bios
|
||||||
bootMountPath = "/boot"; # mount path for efi boot partition; only used for uefi boot mode
|
bootMountPath = "/boot"; # mount path for efi boot partition; only used for uefi boot mode
|
||||||
|
@ -18,15 +18,15 @@
|
||||||
|
|
||||||
# ----- USER SETTINGS ----- #
|
# ----- USER SETTINGS ----- #
|
||||||
userSettings = rec {
|
userSettings = rec {
|
||||||
username = "emmet"; # username
|
username = "ama"; # username
|
||||||
name = "Emmet"; # name/identifier
|
name = "ama"; # name/identifier
|
||||||
email = "emmet@librephoenix.com"; # email (used for certain configurations)
|
email = "ponymushama@gmail.com"; # email (used for certain configurations)
|
||||||
dotfilesDir = "~/.dotfiles"; # absolute path of the local repo
|
dotfilesDir = "~/.dotfiles"; # absolute path of the local repo
|
||||||
theme = "io"; # selcted theme from my themes directory (./themes/)
|
theme = "io"; # selcted theme from my themes directory (./themes/)
|
||||||
wm = "hyprland"; # Selected window manager or desktop environment; must select one in both ./user/wm/ and ./system/wm/
|
wm = "hyprland"; # Selected window manager or desktop environment; must select one in both ./user/wm/ and ./system/wm/
|
||||||
# window manager type (hyprland or x11) translator
|
# window manager type (hyprland or x11) translator
|
||||||
wmType = if (wm == "hyprland") then "wayland" else "x11";
|
wmType = if (wm == "hyprland") then "wayland" else "x11";
|
||||||
browser = "qutebrowser"; # Default browser; must select one from ./user/app/browser/
|
browser = "librewolf"; # Default browser; must select one from ./user/app/browser/
|
||||||
defaultRoamDir = "Personal.p"; # Default org roam directory relative to ~/Org
|
defaultRoamDir = "Personal.p"; # Default org roam directory relative to ~/Org
|
||||||
term = "alacritty"; # Default terminal command;
|
term = "alacritty"; # Default terminal command;
|
||||||
font = "Intel One Mono"; # Selected font
|
font = "Intel One Mono"; # Selected font
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
../../system/hardware/printing.nix
|
../../system/hardware/printing.nix
|
||||||
../../system/hardware/bluetooth.nix
|
../../system/hardware/bluetooth.nix
|
||||||
(./. + "../../../system/wm"+("/"+userSettings.wm)+".nix") # My window manager
|
(./. + "../../../system/wm"+("/"+userSettings.wm)+".nix") # My window manager
|
||||||
#../../system/app/flatpak.nix
|
../../system/app/flatpak.nix
|
||||||
../../system/app/virtualization.nix
|
../../system/app/virtualization.nix
|
||||||
( import ../../system/app/docker.nix {storageDriver = null; inherit pkgs userSettings lib;} )
|
( import ../../system/app/docker.nix {storageDriver = null; inherit pkgs userSettings lib;} )
|
||||||
../../system/security/doas.nix
|
../../system/security/doas.nix
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
../../user/app/keepass/keepass.nix # My password manager
|
../../user/app/keepass/keepass.nix # My password manager
|
||||||
(./. + "../../../user/app/browser"+("/"+userSettings.browser)+".nix") # My default browser selected from flake
|
(./. + "../../../user/app/browser"+("/"+userSettings.browser)+".nix") # My default browser selected from flake
|
||||||
../../user/app/virtualization/virtualization.nix # Virtual machines
|
../../user/app/virtualization/virtualization.nix # Virtual machines
|
||||||
#../../user/app/flatpak/flatpak.nix # Flatpaks
|
../../user/app/flatpak/flatpak.nix # Flatpaks
|
||||||
../../user/style/stylix.nix # Styling and themes for my apps
|
../../user/style/stylix.nix # Styling and themes for my apps
|
||||||
../../user/lang/cc/cc.nix # C and C++ tools
|
../../user/lang/cc/cc.nix # C and C++ tools
|
||||||
../../user/lang/godot/godot.nix # Game development
|
../../user/lang/godot/godot.nix # Game development
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
# Fonts
|
# Fonts
|
||||||
nerdfonts
|
nerdfonts
|
||||||
|
lxgw-wenkai
|
||||||
|
sarasa-gothic
|
||||||
# powerline # FIXME broken by python 311 -> 312 nixpkgs update
|
# powerline # FIXME broken by python 311 -> 312 nixpkgs update
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
hwinfo
|
hwinfo
|
||||||
pciutils
|
pciutils
|
||||||
numbat
|
numbat
|
||||||
|
lazygit
|
||||||
|
zoxide
|
||||||
|
fzf
|
||||||
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
||||||
(pkgs.writeShellScriptBin "airplane-mode" ''
|
(pkgs.writeShellScriptBin "airplane-mode" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
|
@ -44,4 +44,5 @@ in
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
programs.direnv.enableZshIntegration = true;
|
programs.direnv.enableZshIntegration = true;
|
||||||
programs.direnv.nix-direnv.enable = true;
|
programs.direnv.nix-direnv.enable = true;
|
||||||
|
programs.fzf.enableZshIntegration = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -848,7 +848,7 @@ in
|
||||||
clock = {
|
clock = {
|
||||||
"interval" = 1;
|
"interval" = 1;
|
||||||
"format" = "{:%a %Y-%m-%d %I:%M:%S %p}";
|
"format" = "{:%a %Y-%m-%d %I:%M:%S %p}";
|
||||||
"timezone" = "America/Chicago";
|
"timezone" = "Asia/Shanghai";
|
||||||
"tooltip-format" = ''
|
"tooltip-format" = ''
|
||||||
<big>{:%Y %B}</big>
|
<big>{:%Y %B}</big>
|
||||||
<tt><small>{calendar}</small></tt>'';
|
<tt><small>{calendar}</small></tt>'';
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
fcitx5.addons = with pkgs; [
|
fcitx5.addons = with pkgs; [
|
||||||
fcitx5-mozc
|
fcitx5-mozc
|
||||||
fcitx5-gtk
|
fcitx5-gtk
|
||||||
|
fcitx5-rime
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home.file.".config/fcitx5/config".text = ''
|
home.file.".config/fcitx5/config".text = ''
|
||||||
|
|
Loading…
Reference in a new issue