Merge remote-tracking branch 'origin/server-config'

This commit is contained in:
willifan 2024-07-06 21:54:33 +02:00
commit 62493285d2
65 changed files with 229 additions and 83 deletions

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
imports = [
./auto-cpufreq.nix
./backlight.nix
];
}

View file

@ -0,0 +1,4 @@
{ pkgs, ... }:
{
}

View file

@ -0,0 +1,15 @@
{ pkgs, home-manager, ... }:
{
imports = [
./envvar.nix
./git.nix
./hyfetch.nix
./locales.nix
#./ssh.nix
./syncthing.nix
./user.nix
#./zsh.nix
];
home-manager.users.willifan.home.stateVersion = "23.11";
}

View file

@ -1,31 +1,8 @@
{ pkgs, home-manager, ... }:
{ pkgs, hostname, type, ... }:
{
imports = [
./graphical
./applications.nix
./auto-cpufreq.nix
./envvar.nix
./git.nix
./hyfetch.nix
./locales.nix
#./ssh.nix
./syncthing.nix
./udev.nix
./user.nix
#./zsh.nix
./common
./${type}
./${hostname}
];
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = ''Hyprland'';
user = "willifan";
};
default_session = initial_session;
};
};
home-manager.users.willifan.home.stateVersion = "23.11";
}

View file

@ -7,8 +7,6 @@
jq
xorg.xrandr
btop
feh
enpass

View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = ''Hyprland'';
user = "willifan";
};
default_session = initial_session;
};
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, home-manager-unstable, ... }:
{ pkgs, ... }:
{
@ -9,6 +9,8 @@
./theme
./web
./applications.nix
./autologin.nix
./kitty.nix
./thunar.nix
];

View file

@ -0,0 +1,7 @@
{ pkgs, hostname, ... }:
{
imports = [
./common
./${hostname}
];
}

View file

@ -1,4 +1,4 @@
{ pkgs, home-manager-unstable, ... }:
{ pkgs, ... }:
{
imports = [

View file

@ -1,7 +0,0 @@
{ pkgs, configVars, ... }:
{
imports = [
./common
./${configVars.hostname}
];
}