Recreated files

This commit is contained in:
2026-03-12 21:11:50 +01:00
parent f1de0823a1
commit 6afa7224e5
16 changed files with 2784 additions and 18 deletions
@@ -32,7 +32,6 @@
hashedPassword = user.hashedPassword;
home = user.homeDirectory;
};
# Optional: Enable auto-login for testing
services.getty.autologinUser = user.username;
};
@@ -1,3 +1,37 @@
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
{
imports = [
./boot.nix
./hardware-configuration.nix
];
options = {
wm = lib.mkOption {
type = lib.types.str;
default = "hyprland";
description = "Type of window manager to use";
};
};
config = {
# Minimal settings that must be defined here
networking.hostName = "traveldroid";
wm.type = "hyprland";
# User configuration
users.users.${user.username} = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
hashedPassword = user.hashedPassword;
home = user.homeDirectory;
};
# Optional: Enable auto-login for testing
services.getty.autologinUser = user.username;
};
}
{
config,
pkgs,
@@ -1,6 +1,6 @@
{ mkShell, ... }:
mkShell {
buildInputs = with import <nixpkgs> { }; [
buildInputs = with import <nixpkgs> {}; [
nil
nixfmt-rfc-style
];
+23
View File
@@ -1,3 +1,26 @@
{
config,
pkgs,
lib,
inputs,
...
}:
let
user = import ./henrov.nix;
in
{
home-manager.users.${user.username} = {
home.stateVersion = "25.11";
home.username = user.username;
home.homeDirectory = user.homeDirectory;
home.packages = with pkgs; [
direnv
git-extras
];
};
}
{
username = "henrov";
hashedPassword = "$6$ISAmsPLyFi7idYXr$VmZsq.zMsyh1irSkyDNqtorNXG0oEHbbMVqTii1t8bymvrQ5ZQmbdi4OiBNeNYe/huHGrojXM.3TST2fTLz0T.";
+1 -10
View File
@@ -1,13 +1,4 @@
{
config,
pkgs,
lib,
user,
inputs,
flakeRoot,
...
}:
{ config, pkgs, lib, ... }:
{
imports = [
./user.nix