basic dendritic
This commit is contained in:
1 parent
eedd22afb3
commit
b0dabba62e
10 files changed
+72
-68
No files matched your search
@@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
description = "A simple NixOS flake";
|
description = "A simple NixOS flake";
|
||||||
|
|
||||||
|
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules)
|
||||||
|
|
||||||
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";
|
||||||
@@ -13,23 +15,26 @@
|
|||||||
url = "github:schembriaiden/helium-browser-nix-flake";
|
url = "github:schembriaiden/helium-browser-nix-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
flake-file.url = "github:vic/flake-file";
|
||||||
|
import-tree.url = "github:vic/import-tree";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, helium, ... }@inputs: {
|
#outputs = { self, nixpkgs, home-manager, helium, ... }@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";
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
}
|
}
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
{ config, pkgs, inputs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
programs/default.nix
|
|
||||||
];
|
|
||||||
home.username = "snurm";
|
|
||||||
home.homeDirectory = "/home/snurm";
|
|
||||||
home.stateVersion = "26.05";
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
settings.user = {
|
|
||||||
name = "snurm";
|
|
||||||
email = "user@example.com";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.kitty = {
|
|
||||||
enable = true;
|
|
||||||
font = {
|
|
||||||
name ="JetBrains Mono";
|
|
||||||
size = 10;
|
|
||||||
};
|
|
||||||
settings = {
|
|
||||||
confirm_os_window_close = 0;
|
|
||||||
enable_auto_bell = false;
|
|
||||||
mouse_hide_wait = "-1.0";
|
|
||||||
background_opacity = "0.5";
|
|
||||||
background_blur = 5;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
fastfetch
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{ pkgs, config, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
}
|
|
||||||
Whitespace-only changes.
@@ -5,6 +5,7 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
flake.nixosModules.desktopModule = { pkgs, ... }: {
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
@@ -136,4 +137,5 @@
|
|||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "25.11"; # Did you read the comment?
|
system.stateVersion = "25.11"; # Did you read the comment?
|
||||||
|
|
||||||
|
};
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ inputs, self, ... } : {
|
||||||
|
flake.nixosConfigurations.desktopSystem = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
modules = [
|
||||||
|
self.nixosModules.desktopModule
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
File renamed without changes.
@@ -0,0 +1,41 @@
|
|||||||
|
{ config, pkgs, inputs, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
inputs.home-manager.flakeModules.home-manager
|
||||||
|
];
|
||||||
|
|
||||||
|
homeConfigurations.snurm = home-manager.lib.homeManagerConfiguration {
|
||||||
|
home.username = "snurm";
|
||||||
|
home.homeDirectory = "/home/snurm";
|
||||||
|
home.stateVersion = "26.05";
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
settings.user = {
|
||||||
|
name = "snurm";
|
||||||
|
email = "user@example.com";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
font = {
|
||||||
|
name = "JetBrains Mono";
|
||||||
|
size = 10;
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
confirm_os_window_close = 0;
|
||||||
|
enable_auto_bell = false;
|
||||||
|
mouse_hide_wait = "-1.0";
|
||||||
|
background_opacity = "0.5";
|
||||||
|
background_blur = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
fastfetch
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
./browser.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user