2024-11-16 13:38:09 -05:00
|
|
|
{
|
|
|
|
description = "System Configuration @ cswimr 2024";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/master";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
catppuccin.url = "github:catppuccin/nix";
|
|
|
|
compose2nix = {
|
|
|
|
url = "github:aksiksi/compose2nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-11-16 19:19:07 -05:00
|
|
|
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
2024-11-16 13:38:09 -05:00
|
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, catppuccin, ... }@inputs:
|
|
|
|
let system = "x86_64-linux";
|
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
|
|
eclipse = nixpkgs.lib.nixosSystem {
|
|
|
|
system = system;
|
|
|
|
modules = [
|
|
|
|
# imports
|
2024-11-16 17:33:00 -05:00
|
|
|
./hosts/eclipse.nix
|
2024-11-16 21:00:38 -05:00
|
|
|
./nixos/catppuccin.nix
|
2024-11-16 13:38:09 -05:00
|
|
|
./nixos/configuration.nix
|
|
|
|
./nixos/environment.nix
|
2024-11-17 10:23:27 -05:00
|
|
|
./nixos/gaming.nix
|
2024-11-16 13:38:09 -05:00
|
|
|
./nixos/git.nix
|
2024-11-16 17:26:05 -05:00
|
|
|
./nixos/gui-pkgs.nix
|
2024-11-16 13:38:09 -05:00
|
|
|
./nixos/nvidia.nix
|
|
|
|
./nixos/nvim.nix
|
|
|
|
./nixos/pkg.nix
|
|
|
|
./nixos/sudo.nix
|
|
|
|
./nixos/tailscale.nix
|
|
|
|
./nixos/zsh.nix
|
|
|
|
|
2024-11-16 21:00:38 -05:00
|
|
|
{
|
|
|
|
# enable bluetooth
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
}
|
|
|
|
|
2024-11-16 13:38:09 -05:00
|
|
|
# flake packages
|
|
|
|
{
|
2024-11-16 20:23:53 -05:00
|
|
|
environment.systemPackages = with inputs; [
|
|
|
|
compose2nix.packages.${system}.default
|
|
|
|
zen-browser.packages.${system}.specific
|
|
|
|
];
|
2024-11-16 13:38:09 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
# Catppuccin theme
|
|
|
|
catppuccin.nixosModules.catppuccin
|
|
|
|
{
|
|
|
|
catppuccin.enable = true;
|
|
|
|
catppuccin.flavor = "mocha";
|
|
|
|
catppuccin.accent = "blue";
|
|
|
|
boot.loader.grub.catppuccin.enable = true;
|
|
|
|
services.displayManager.sddm.catppuccin.enable = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Home Manager
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.cswimr = {
|
|
|
|
imports = [
|
|
|
|
./home-manager/home.nix
|
|
|
|
catppuccin.homeManagerModules.catppuccin
|
|
|
|
{
|
|
|
|
catppuccin.enable = true;
|
|
|
|
catppuccin.flavor = "mocha";
|
|
|
|
catppuccin.accent = "blue";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|