This commit is contained in:
snurm committed 2026-08-02 12:19:04 +02:00
1 parent 213ead14cb
commit 60f2795b67
3 files changed
+40 -26

No files matched your search

+30 -25
View File
@@ -1,30 +1,35 @@
{ {
description = "A simple NixOS flake"; description = "A simple NixOS flake";
inputs = { inputs = {
# NixOS official package source, using the nixos-26.05 branch here # NixOS official package source, using the nixos-26.05 branch here
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
home-manager = { nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
url = "github:nix-community/home-manager/release-26.05"; home-manager = {
inputs.nixpkgs.follows = "nixpkgs"; 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: { outputs = { self, nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
# Import the previous configuration.nix we used, # Import the previous configuration.nix we used,
# so the old configuration file still takes effect # so the old configuration file still takes effect
./configuration.nix ./configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.snurm = import ./home.nix; home-manager.users.snurm = import ./home.nix;
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
} }
]; ];
}; };
}; };
} }
+10
View File
@@ -1,6 +1,9 @@
{ config, pkgs, ...}: { config, pkgs, ...}:
{ {
imports = [
programs/default.nix
];
home.username = "snurm"; home.username = "snurm";
home.homeDirectory = "/home/snurm"; home.homeDirectory = "/home/snurm";
home.stateVersion = "26.05"; home.stateVersion = "26.05";
@@ -13,6 +16,10 @@
}; };
}; };
nixkpgs.overlays = [
inputs.helium.overlays.default
];
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font = { font = {
@@ -31,4 +38,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
fastfetch fastfetch
]; ];
environment.systemPackages = with pkgs; [
helium
];
} }
-1
View File
@@ -1,5 +1,4 @@
{ pkgs, config, ... }: { pkgs, config, ... }:
{ {
} }