hello world!

This commit is contained in:
kenji
2025-12-23 18:43:43 +00:00
parent 73b5b2c9f6
commit b55c662a1b
9 changed files with 49 additions and 32 deletions
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
git
];
}
+10
View File
@@ -0,0 +1,10 @@
{myConfig, ...}: {
programs.git = {
enable = true;
extraConfig = {
user.name = "${myConfig.nixos.Git.user}";
user.email = "${myConfig.nixos.Git.email}";
init.defaultBranch = "${myConfig.nixos.Git.defaultBranch}";
};
};
}
Generated
+11 -22
View File
@@ -640,7 +640,9 @@
"nixpkgs"
],
"nixvim": "nixvim",
"rust-overlay": "rust-overlay"
"rust-overlay": [
"rust-overlay"
]
},
"locked": {
"lastModified": 1764015463,
@@ -685,22 +687,6 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736320768,
"narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4bc9c909d9ac828a039f288cf872d16d38185db8",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1766309749,
"narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=",
@@ -794,19 +780,22 @@
"home-manager": "home-manager",
"hyprland": "hyprland",
"nixovim": "nixovim",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_2",
"rust-overlay": "rust-overlay"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": "nixpkgs_2"
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1739327257,
"narHash": "sha256-rlGK8wxz/e50Z+PQRzuP+m03IrGkhcPGmgkBnkEZ9C8=",
"lastModified": 1766457837,
"narHash": "sha256-aeBbkQ0HPFNOIsUeEsXmZHXbYq4bG8ipT9JRlCcKHgU=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "e01f2c035b7b8a428c119b183f4cbc55f2eef07c",
"rev": "2c7510a559416d07242621d036847152d970612b",
"type": "github"
},
"original": {
+6
View File
@@ -3,6 +3,11 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -14,6 +19,7 @@
nixovim = {
url = "git+https://git.sakamoto.dev/kenji/nixovim.git";
inputs.nixpkgs.follows = "nixpkgs";
inputs.rust-overlay.follows = "rust-overlay";
};
};
+1 -5
View File
@@ -1,10 +1,6 @@
{pkgs, ...}: {
imports = [
./hardware-configuration.nix
../../system/version.nix
../../system/user.nix
../../system/home-manager.nix
../../system/hardware.nix
../../system/services.nix
../../modules/system/default.nix
];
}
+1
View File
@@ -1,5 +1,6 @@
{
imports = [
../../apps/neovim/neovim.nix
../../apps/git/home.nix
];
}
+4 -1
View File
@@ -1,4 +1,4 @@
{...}: {
{pkgs, ...}: {
imports = [
../../system/boot.nix
../../system/amd.nix
@@ -8,4 +8,7 @@
../../system/user.nix
../../system/version.nix
];
environment.systemPackages = with pkgs; [
git
];
}
+4 -4
View File
@@ -10,10 +10,10 @@
efiSysMountPoint = "/boot";
};
grub = {
enable = false;
device = "nodev";
};
# grub = {
# enable = false;
# device = "nodev";
# };
};
initrd = {
+7
View File
@@ -1,4 +1,11 @@
{pkgs, ...}: {
system.stateVersion = "25.05";
nixpkgs.config.allowUnfree = true;
nix = {
distributedBuilds = true;
settings = {
builders-use-substitutes = true;
experimental-features = ["nix-command" "flakes"];
};
};
}