nixos/nixos/configurations/Tytonidae/default.nix

93 lines
1.8 KiB
Nix
Raw Normal View History

{
lib,
pkgs,
inputs,
...
}:
init repo update nvidia driver, install ghostty and other things before refactor the arch of configuration. move some nixos configuration to ./nixos/modules and ./nixos/configurations. try to find a good arch to conbine home-manager and nixos modules. fix callPackage firefox-addons missing key immersive-translate. wrap niri and spotx overlays into overlay.modifications. build a brandnew architecture for configurations. change the import method of homeManagerModules."${unixName}" to use outputs. add ghostty overlay to replace ghostty. add nix config in home/modules/nix.nix when not nixos fix call nixpkgs.foldr. modify to call nixpkgs.lib.foldr. modify firefox config, to use flake packages as extension modify i18n config, to use flake packages as addons remove ssh private key and add it to sops. update partial flake inputs update partial flake inputs, add some package to user config move helix as home module, provide option youthlic.programs.helix. change fcitx5 config to pkg, use rime-ice default config. move spotify installation to default.nix neither spotify.nix change gpg encrypt key add gpg option to home-manager module add fd as user level package remove gpg option in system level add git option update flake inputs, and install all gpg pinentry add gh to git module change shell config to module, and ghostty also. change gpg pinentry from pinentry-all to pinentry-qt. change gh config, use ssh as git protocol remove zed editor move foot to module, and disable it. add store as git credential helper rename sops.secrets.gitea to sops.secrets.git-credential add git delta config move starship configuration to home/modules. update flake inputs add ssh config to sops encrypt file `secrets/ssh-config.yaml` change niri to niri-unstable and update flake inputs change encypt key from gnupg to age. And encrypt dae url move home sops config to module update flake inputs add duf and doggo to home packages
2024-12-25 10:59:37 +08:00
{
imports =
(with inputs; [
nixos-hardware.nixosModules.asus-fx506hm
])
++ [
./users
2025-01-16 19:38:54 +08:00
./stylix.nix
init repo update nvidia driver, install ghostty and other things before refactor the arch of configuration. move some nixos configuration to ./nixos/modules and ./nixos/configurations. try to find a good arch to conbine home-manager and nixos modules. fix callPackage firefox-addons missing key immersive-translate. wrap niri and spotx overlays into overlay.modifications. build a brandnew architecture for configurations. change the import method of homeManagerModules."${unixName}" to use outputs. add ghostty overlay to replace ghostty. add nix config in home/modules/nix.nix when not nixos fix call nixpkgs.foldr. modify to call nixpkgs.lib.foldr. modify firefox config, to use flake packages as extension modify i18n config, to use flake packages as addons remove ssh private key and add it to sops. update partial flake inputs update partial flake inputs, add some package to user config move helix as home module, provide option youthlic.programs.helix. change fcitx5 config to pkg, use rime-ice default config. move spotify installation to default.nix neither spotify.nix change gpg encrypt key add gpg option to home-manager module add fd as user level package remove gpg option in system level add git option update flake inputs, and install all gpg pinentry add gh to git module change shell config to module, and ghostty also. change gpg pinentry from pinentry-all to pinentry-qt. change gh config, use ssh as git protocol remove zed editor move foot to module, and disable it. add store as git credential helper rename sops.secrets.gitea to sops.secrets.git-credential add git delta config move starship configuration to home/modules. update flake inputs add ssh config to sops encrypt file `secrets/ssh-config.yaml` change niri to niri-unstable and update flake inputs change encypt key from gnupg to age. And encrypt dae url move home sops config to module update flake inputs add duf and doggo to home packages
2024-12-25 10:59:37 +08:00
# Include the hardware related config
./hardware-configuration.nix
./networking.nix
];
youthlic = {
home-manager = {
enable = true;
unixName = "david";
hostName = "Tytonidae";
};
i18n.enable = true;
programs = {
dae.enable = true;
openssh.enable = true;
steam.enable = true;
};
gui.enabled = "cosmic";
};
specialisation = {
niri = {
inheritParentConfig = true;
configuration = {
youthlic.gui.enabled = lib.mkForce "niri";
};
};
init repo update nvidia driver, install ghostty and other things before refactor the arch of configuration. move some nixos configuration to ./nixos/modules and ./nixos/configurations. try to find a good arch to conbine home-manager and nixos modules. fix callPackage firefox-addons missing key immersive-translate. wrap niri and spotx overlays into overlay.modifications. build a brandnew architecture for configurations. change the import method of homeManagerModules."${unixName}" to use outputs. add ghostty overlay to replace ghostty. add nix config in home/modules/nix.nix when not nixos fix call nixpkgs.foldr. modify to call nixpkgs.lib.foldr. modify firefox config, to use flake packages as extension modify i18n config, to use flake packages as addons remove ssh private key and add it to sops. update partial flake inputs update partial flake inputs, add some package to user config move helix as home module, provide option youthlic.programs.helix. change fcitx5 config to pkg, use rime-ice default config. move spotify installation to default.nix neither spotify.nix change gpg encrypt key add gpg option to home-manager module add fd as user level package remove gpg option in system level add git option update flake inputs, and install all gpg pinentry add gh to git module change shell config to module, and ghostty also. change gpg pinentry from pinentry-all to pinentry-qt. change gh config, use ssh as git protocol remove zed editor move foot to module, and disable it. add store as git credential helper rename sops.secrets.gitea to sops.secrets.git-credential add git delta config move starship configuration to home/modules. update flake inputs add ssh config to sops encrypt file `secrets/ssh-config.yaml` change niri to niri-unstable and update flake inputs change encypt key from gnupg to age. And encrypt dae url move home sops config to module update flake inputs add duf and doggo to home packages
2024-12-25 10:59:37 +08:00
};
programs.gnupg.agent = {
enable = true;
};
networking.hostName = "Tytonidae";
time.timeZone = "Asia/Shanghai";
services.printing.enable = true;
environment.systemPackages = with pkgs; [
nix-output-monitor
wget
git
vim
helix
nixd
nixfmt-rfc-style
element-desktop
discord-ptb
vlc
btop
handbrake
wechat-uos
nvtopPackages.full
spotify
localsend
init repo update nvidia driver, install ghostty and other things before refactor the arch of configuration. move some nixos configuration to ./nixos/modules and ./nixos/configurations. try to find a good arch to conbine home-manager and nixos modules. fix callPackage firefox-addons missing key immersive-translate. wrap niri and spotx overlays into overlay.modifications. build a brandnew architecture for configurations. change the import method of homeManagerModules."${unixName}" to use outputs. add ghostty overlay to replace ghostty. add nix config in home/modules/nix.nix when not nixos fix call nixpkgs.foldr. modify to call nixpkgs.lib.foldr. modify firefox config, to use flake packages as extension modify i18n config, to use flake packages as addons remove ssh private key and add it to sops. update partial flake inputs update partial flake inputs, add some package to user config move helix as home module, provide option youthlic.programs.helix. change fcitx5 config to pkg, use rime-ice default config. move spotify installation to default.nix neither spotify.nix change gpg encrypt key add gpg option to home-manager module add fd as user level package remove gpg option in system level add git option update flake inputs, and install all gpg pinentry add gh to git module change shell config to module, and ghostty also. change gpg pinentry from pinentry-all to pinentry-qt. change gh config, use ssh as git protocol remove zed editor move foot to module, and disable it. add store as git credential helper rename sops.secrets.gitea to sops.secrets.git-credential add git delta config move starship configuration to home/modules. update flake inputs add ssh config to sops encrypt file `secrets/ssh-config.yaml` change niri to niri-unstable and update flake inputs change encypt key from gnupg to age. And encrypt dae url move home sops config to module update flake inputs add duf and doggo to home packages
2024-12-25 10:59:37 +08:00
];
environment.variables.EDITOR = "hx";
2025-01-16 23:05:31 +08:00
services.dbus.implementation = "broker";
init repo update nvidia driver, install ghostty and other things before refactor the arch of configuration. move some nixos configuration to ./nixos/modules and ./nixos/configurations. try to find a good arch to conbine home-manager and nixos modules. fix callPackage firefox-addons missing key immersive-translate. wrap niri and spotx overlays into overlay.modifications. build a brandnew architecture for configurations. change the import method of homeManagerModules."${unixName}" to use outputs. add ghostty overlay to replace ghostty. add nix config in home/modules/nix.nix when not nixos fix call nixpkgs.foldr. modify to call nixpkgs.lib.foldr. modify firefox config, to use flake packages as extension modify i18n config, to use flake packages as addons remove ssh private key and add it to sops. update partial flake inputs update partial flake inputs, add some package to user config move helix as home module, provide option youthlic.programs.helix. change fcitx5 config to pkg, use rime-ice default config. move spotify installation to default.nix neither spotify.nix change gpg encrypt key add gpg option to home-manager module add fd as user level package remove gpg option in system level add git option update flake inputs, and install all gpg pinentry add gh to git module change shell config to module, and ghostty also. change gpg pinentry from pinentry-all to pinentry-qt. change gh config, use ssh as git protocol remove zed editor move foot to module, and disable it. add store as git credential helper rename sops.secrets.gitea to sops.secrets.git-credential add git delta config move starship configuration to home/modules. update flake inputs add ssh config to sops encrypt file `secrets/ssh-config.yaml` change niri to niri-unstable and update flake inputs change encypt key from gnupg to age. And encrypt dae url move home sops config to module update flake inputs add duf and doggo to home packages
2024-12-25 10:59:37 +08:00
boot = {
kernelPackages = pkgs.linuxPackages_zen;
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.11"; # Did you read the comment?
}