{ 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"; }; nixvim = { url = "github:nix-community/nixvim"; inputs.nixpkgs.follows = "nixpkgs"; }; catppuccin.url = "github:catppuccin/nix"; compose2nix = { url = "github:aksiksi/compose2nix"; inputs.nixpkgs.follows = "nixpkgs"; }; zen-browser.url = "github:0xc000022070/zen-browser-flake"; nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions"; catppuccin-vsc.url = "https://flakehub.com/f/catppuccin/vscode/*.tar.gz"; }; outputs = { nixpkgs, home-manager, ... }@inputs: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; overlays = [ inputs.catppuccin-vsc.overlays.default ]; config.allowUnfree = true; }; in { nixosConfigurations = { eclipse = nixpkgs.lib.nixosSystem { system = system; specialArgs = { inherit inputs; inherit pkgs; system = system; }; modules = [ # imports ./hosts/eclipse.nix ./nixos/catppuccin.nix ./nixos/configuration.nix ./nixos/development.nix ./nixos/environment.nix ./nixos/gaming.nix ./nixos/git.nix ./nixos/gui-pkgs.nix ./nixos/nvidia.nix ./nixos/nvim.nix ./nixos/pkg.nix ./nixos/shell.nix ./nixos/sudo.nix ./nixos/tailscale.nix { # enable bluetooth hardware.bluetooth.enable = true; } inputs.nixvim.nixosModules.nixvim # Catppuccin theme inputs.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; useUserPackages = true; backupFileExtension = "bak"; extraSpecialArgs = { inherit inputs; inherit pkgs; system = system; }; users.cswimr = { imports = [ ./home-manager/cswimr.nix ./home-manager/vscode.nix inputs.catppuccin.homeManagerModules.catppuccin { catppuccin.enable = true; catppuccin.flavor = "mocha"; catppuccin.accent = "blue"; } ]; }; }; } ]; }; }; }; }