From 60f2795b67f937c4fcd0067d6a7d207a97a86b6a Mon Sep 17 00:00:00 2001 From: snurm Date: Sun, 2 Aug 2026 12:19:04 +0200 Subject: [PATCH] testing --- flake.nix | 55 ++++++++++++++++++++++++-------------------- home.nix | 10 ++++++++ hyprland/default.nix | 1 - 3 files changed, 40 insertions(+), 26 deletions(-) diff --git a/flake.nix b/flake.nix index 839bb6e..b5c5c93 100644 --- a/flake.nix +++ b/flake.nix @@ -1,30 +1,35 @@ { - description = "A simple NixOS flake"; + description = "A simple NixOS flake"; - inputs = { - # NixOS official package source, using the nixos-26.05 branch here - nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; - home-manager = { - url = "github:nix-community/home-manager/release-26.05"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + inputs = { + # NixOS official package source, using the nixos-26.05 branch here + nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + home-manager = { + url = "github:nix-community/home-manager/release-26.05"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + helium = { + url = "github:schembriaiden/helium-browser-nix-flake"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, home-manager, ... }@inputs: { - nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { - specialArgs = { inherit inputs; }; - modules = [ - # Import the previous configuration.nix we used, - # so the old configuration file still takes effect - ./configuration.nix - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.snurm = import ./home.nix; - home-manager.backupFileExtension = "backup"; - } - ]; - }; - }; + outputs = { self, nixpkgs, home-manager, ... }@inputs: { + nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs; }; + modules = [ + # Import the previous configuration.nix we used, + # so the old configuration file still takes effect + ./configuration.nix + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.snurm = import ./home.nix; + home-manager.backupFileExtension = "backup"; + } + ]; + }; + }; } diff --git a/home.nix b/home.nix index e19ff2e..1101da6 100644 --- a/home.nix +++ b/home.nix @@ -1,6 +1,9 @@ { config, pkgs, ...}: { + imports = [ + programs/default.nix + ]; home.username = "snurm"; home.homeDirectory = "/home/snurm"; home.stateVersion = "26.05"; @@ -13,6 +16,10 @@ }; }; + nixkpgs.overlays = [ + inputs.helium.overlays.default + ]; + programs.kitty = { enable = true; font = { @@ -31,4 +38,7 @@ home.packages = with pkgs; [ fastfetch ]; + environment.systemPackages = with pkgs; [ + helium + ]; } diff --git a/hyprland/default.nix b/hyprland/default.nix index 014eedd..dbaa756 100644 --- a/hyprland/default.nix +++ b/hyprland/default.nix @@ -1,5 +1,4 @@ { pkgs, config, ... }: { - }