Added config for ichigo desktop PC

This commit is contained in:
2025-05-21 01:58:07 -04:00
parent 24b2035dd9
commit 980ccf27c1
3 changed files with 44 additions and 18 deletions

View File

@@ -97,6 +97,16 @@
fcitx5.waylandFrontend = true; fcitx5.waylandFrontend = true;
}; };
# Fonts
fonts.packages = with pkgs; [
ibm-plex
liberation_ttf
nerd-fonts.blex-mono
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
];
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
@@ -184,7 +194,8 @@
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
bitwarden-cli bitwarden-cli
bitwarden-desktop bitwarden-desktop
cifs-utils
emacs-pgtk emacs-pgtk
firefoxpwa firefoxpwa
gcc gcc

View File

@@ -19,23 +19,38 @@
# Please replace my-nixos with your hostname # Please replace my-nixos with your hostname
nixosConfigurations = { nixosConfigurations = {
anzu = nixpkgs.lib.nixosSystem { anzu = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
# Import the previous configuration.nix we used,
# so the old configuration file still takes effect
./configuration.nix
./hosts/anzu/hardware-configuration.nix
# Add NUR overlay
nur.modules.nixos.default
# Add home-manager
home-manager.nixosModules.home-manager
{
home-manager.backupFileExtension = "backup";
home-manager.useGlobalPkgs = true;
home-manager.users.chase = ./home.nix;
}
];
};
ichigo = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
# Import the previous configuration.nix we used, ./configuration.nix
# so the old configuration file still takes effect ./hosts/ichigo/hardware-configuration.nix
./configuration.nix nur.modules.nixos.default
./hosts/anzu/hardware-configuration.nix home-manager.nixosModules.home-manager
# Add NUR overlay {
nur.modules.nixos.default home-manager.backupFileExtension = "backup";
# Add home-manager home-manager.useGlobalPkgs = true;
home-manager.nixosModules.home-manager home-manager.users.chase = ./home.nix;
{ }
home-manager.backupFileExtension = "backup"; ];
home-manager.useGlobalPkgs = true;
home-manager.users.chase = ./home.nix;
}
];
}; };
}; };
}; };

View File

@@ -49,7 +49,7 @@
modules = [ modules = [
"title" "title"
"separator" "separator"
"os" "os"
"host" "host"
"uptime" "uptime"
"kernel" "kernel"