Recreated files
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -32,7 +32,6 @@
|
|||||||
hashedPassword = user.hashedPassword;
|
hashedPassword = user.hashedPassword;
|
||||||
home = user.homeDirectory;
|
home = user.homeDirectory;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Optional: Enable auto-login for testing
|
# Optional: Enable auto-login for testing
|
||||||
services.getty.autologinUser = user.username;
|
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,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{ mkShell, ... }:
|
{ mkShell, ... }:
|
||||||
mkShell {
|
mkShell {
|
||||||
buildInputs = with import <nixpkgs> { }; [
|
buildInputs = with import <nixpkgs> {}; [
|
||||||
nil
|
nil
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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";
|
username = "henrov";
|
||||||
hashedPassword = "$6$ISAmsPLyFi7idYXr$VmZsq.zMsyh1irSkyDNqtorNXG0oEHbbMVqTii1t8bymvrQ5ZQmbdi4OiBNeNYe/huHGrojXM.3TST2fTLz0T.";
|
hashedPassword = "$6$ISAmsPLyFi7idYXr$VmZsq.zMsyh1irSkyDNqtorNXG0oEHbbMVqTii1t8bymvrQ5ZQmbdi4OiBNeNYe/huHGrojXM.3TST2fTLz0T.";
|
||||||
|
|||||||
@@ -1,13 +1,4 @@
|
|||||||
{
|
{ config, pkgs, lib, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
user,
|
|
||||||
inputs,
|
|
||||||
flakeRoot,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./user.nix
|
./user.nix
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
flakeRoot,
|
flakeRoot,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
|
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
|
||||||
# Dynamically read all files in assets/hyprland/conf/
|
# Dynamically read all files in assets/hyprland/conf/
|
||||||
@@ -34,11 +33,6 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Ensure the Hyprland config directory exists
|
|
||||||
xdg.configFile."hypr/.keep" = {
|
|
||||||
text = "";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Merge dynamic Hyprland configs with existing xdg.configFile
|
# Merge dynamic Hyprland configs with existing xdg.configFile
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
# Your existing manual configs (if any)
|
# Your existing manual configs (if any)
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# No subfolders to import
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# No subfolders to import
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
# Your code here...
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# No subfolders to import
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# No subfolders to import
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# No subfolders to import
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# No subfolders to import
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./animations_effects/top.nix
|
||||||
|
./decorations/top.nix
|
||||||
|
./keyboard_binds/top.nix
|
||||||
|
./notifications/top.nix
|
||||||
|
./statusbar_tray/top.nix
|
||||||
|
./task_launcher/top.nix
|
||||||
|
./task_window_workspace_switcher/top.nix
|
||||||
|
./window_rules/top.nix
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# No subfolders to import
|
||||||
|
];
|
||||||
|
# .. put any code here
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user