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 = {
# 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";
}
];
};
};
}
+10
View File
@@ -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
];
}
-1
View File
@@ -1,5 +1,4 @@
{ pkgs, config, ... }:
{
}