Auto Push
parent
01521499c1
commit
90e532c13d
|
@ -1,9 +1,13 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
(import "${home-manager}/nixos")
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
@ -15,6 +19,16 @@
|
||||||
vlc
|
vlc
|
||||||
obs-studio
|
obs-studio
|
||||||
libreoffice
|
libreoffice
|
||||||
|
sunshine
|
||||||
|
bitwig-studio
|
||||||
|
kleopatra
|
||||||
|
|
||||||
|
wine64
|
||||||
|
wineWow64Packages.stagingFull
|
||||||
|
winetricks
|
||||||
|
yabridge
|
||||||
|
yabridgectl
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
wget
|
wget
|
||||||
|
@ -24,6 +38,10 @@
|
||||||
btop
|
btop
|
||||||
busybox
|
busybox
|
||||||
xclip
|
xclip
|
||||||
|
yubico-pam
|
||||||
|
yubikey-agent
|
||||||
|
yubikey-manager
|
||||||
|
yubioath-flutter
|
||||||
(neovim.override {
|
(neovim.override {
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
configure = {
|
configure = {
|
||||||
|
@ -76,10 +94,20 @@
|
||||||
|
|
||||||
time.timeZone = "Asia/Shanghai";
|
time.timeZone = "Asia/Shanghai";
|
||||||
|
|
||||||
services.xserver.enable = true;
|
services.xserver = {
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
enable = true;
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
displayManager.sddm.enable = true;
|
||||||
|
desktopManager.plasma5.enable = true;
|
||||||
|
displayManager.defaultSession = "plasma";
|
||||||
|
};
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
#home-manager.users.lzc256 = {
|
||||||
|
# home.stateVersion = "23.11";
|
||||||
|
#};
|
||||||
|
|
||||||
|
# services.displayManager.sddm.enable = true;
|
||||||
|
# services.xserver.desktopManager.plasma5.enable = true;
|
||||||
|
# services.desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
# services.xserver.xkb.layout = "us";
|
# services.xserver.xkb.layout = "us";
|
||||||
|
@ -121,13 +149,24 @@
|
||||||
# system.copySystemConfiguration = true;
|
# system.copySystemConfiguration = true;
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
noto-fonts
|
|
||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
|
noto-fonts
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
|
noto-fonts-cjk-serif
|
||||||
meslo-lgs-nf
|
meslo-lgs-nf
|
||||||
wqy_zenhei
|
wqy_zenhei
|
||||||
hack-font
|
hack-font
|
||||||
];
|
];
|
||||||
|
fonts.fontconfig = {
|
||||||
|
antialias = true;
|
||||||
|
hinting.enable = true;
|
||||||
|
defaultFonts = {
|
||||||
|
emoji = [ "Noto Color Emoji" ];
|
||||||
|
monospace = [ "FiraCode Nerd Font" ];
|
||||||
|
sansSerif = [ "Noto Sans CJK SC" ];
|
||||||
|
serif = [ "Noto Serif CJK SC" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
i18n.defaultLocale = "zh_CN.UTF-8";
|
i18n.defaultLocale = "zh_CN.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
font = "hack";
|
font = "hack";
|
||||||
|
@ -136,6 +175,7 @@
|
||||||
i18n.inputMethod.enabled = "ibus";
|
i18n.inputMethod.enabled = "ibus";
|
||||||
i18n.inputMethod.ibus.engines = with pkgs.ibus-engines; [
|
i18n.inputMethod.ibus.engines = with pkgs.ibus-engines; [
|
||||||
libpinyin
|
libpinyin
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
|
@ -149,4 +189,3 @@
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue