mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Switch to nixfmt
This commit is contained in:
parent
1d70117186
commit
b38d2df431
55 changed files with 1559 additions and 1540 deletions
|
|
@ -1,25 +1,22 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [./default.nix];
|
||||
imports = [ ./default.nix ];
|
||||
|
||||
home-manager.users.seb = {
|
||||
myConfig.de.theme = "light";
|
||||
home-manager.users.seb = {
|
||||
myConfig.de.theme = "light";
|
||||
|
||||
wayland.windowManager.hyprland.settings.monitor = "eDP-1,1920x1080@60,0x0,1";
|
||||
wayland.windowManager.hyprland.settings.monitor = "eDP-1,1920x1080@60,0x0,1";
|
||||
|
||||
services.hypridle.settings.listener = [
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "${lib.getExe pkgs.brightnessctl} -s && ${lib.getExe pkgs.brightnessctl} -e set 10%";
|
||||
on-resume = "${lib.getExe pkgs.brightnessctl} -r";
|
||||
}
|
||||
{
|
||||
timeout = 1200;
|
||||
on-timeout = "systemctl suspend";
|
||||
}
|
||||
];
|
||||
};
|
||||
services.hypridle.settings.listener = [
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "${lib.getExe pkgs.brightnessctl} -s && ${lib.getExe pkgs.brightnessctl} -e set 10%";
|
||||
on-resume = "${lib.getExe pkgs.brightnessctl} -r";
|
||||
}
|
||||
{
|
||||
timeout = 1200;
|
||||
on-timeout = "systemctl suspend";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +1,18 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [./default.nix];
|
||||
imports = [ ./default.nix ];
|
||||
|
||||
home-manager.users.seb = {
|
||||
home.packages = [
|
||||
pkgs.obs-studio
|
||||
pkgs.libsForQt5.kdenlive
|
||||
pkgs.gimp
|
||||
];
|
||||
home-manager.users.seb = {
|
||||
home.packages = [
|
||||
pkgs.obs-studio
|
||||
pkgs.libsForQt5.kdenlive
|
||||
pkgs.gimp
|
||||
];
|
||||
|
||||
myConfig.de.theme = "dark";
|
||||
myConfig.de.theme = "dark";
|
||||
|
||||
wayland.windowManager.hyprland.settings.monitor = "DP-2,2560x1440@144,0x0,1";
|
||||
wayland.windowManager.hyprland.settings.monitor = "DP-2,2560x1440@144,0x0,1";
|
||||
|
||||
services.hypridle.settings.general.before_sleep_cmd = lib.mkForce "";
|
||||
};
|
||||
services.hypridle.settings.general.before_sleep_cmd = lib.mkForce "";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,20 @@
|
|||
{config, ...}: {
|
||||
imports = [../common.nix];
|
||||
{ config, ... }:
|
||||
{
|
||||
imports = [ ../common.nix ];
|
||||
|
||||
sops.secrets.seb-password.neededForUsers = true;
|
||||
sops.secrets.seb-password.neededForUsers = true;
|
||||
|
||||
users.users.seb = {
|
||||
isNormalUser = true;
|
||||
description = "Sebastian Stork";
|
||||
hashedPasswordFile = config.sops.secrets.seb-password.path;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"libvirtd"
|
||||
"video"
|
||||
];
|
||||
};
|
||||
users.users.seb = {
|
||||
isNormalUser = true;
|
||||
description = "Sebastian Stork";
|
||||
hashedPasswordFile = config.sops.secrets.seb-password.path;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"libvirtd"
|
||||
"video"
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.users.seb = ./home.nix;
|
||||
home-manager.users.seb = ./home.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,48 +1,49 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
osConfig,
|
||||
wrappers,
|
||||
...
|
||||
}: {
|
||||
xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
config,
|
||||
pkgs,
|
||||
osConfig,
|
||||
wrappers,
|
||||
...
|
||||
}:
|
||||
{
|
||||
xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
|
||||
myConfig = {
|
||||
de.hyprland.enable = osConfig.myConfig.de.hyprland.enable;
|
||||
myConfig = {
|
||||
de.hyprland.enable = osConfig.myConfig.de.hyprland.enable;
|
||||
|
||||
shell = {
|
||||
bash.enable = true;
|
||||
starship.enable = true;
|
||||
enhancement.enable = true;
|
||||
};
|
||||
|
||||
ssh-client.enable = true;
|
||||
git.enable = true;
|
||||
vscode.enable = true;
|
||||
equalizer.enable = true;
|
||||
sops.enable = false;
|
||||
clipboard.enable = true;
|
||||
shell = {
|
||||
bash.enable = true;
|
||||
starship.enable = true;
|
||||
enhancement.enable = true;
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.fastfetch
|
||||
ssh-client.enable = true;
|
||||
git.enable = true;
|
||||
vscode.enable = true;
|
||||
equalizer.enable = true;
|
||||
sops.enable = false;
|
||||
clipboard.enable = true;
|
||||
};
|
||||
|
||||
pkgs.brave
|
||||
pkgs.cinnamon.nemo-with-extensions
|
||||
pkgs.jetbrains.idea-community
|
||||
pkgs.vlc
|
||||
pkgs.onlyoffice-bin_latest
|
||||
pkgs.libreoffice
|
||||
pkgs.hunspell
|
||||
pkgs.hunspellDicts.de_DE
|
||||
pkgs.hunspellDicts.en_US
|
||||
home.packages = [
|
||||
pkgs.fastfetch
|
||||
|
||||
wrappers.bottom
|
||||
wrappers.spotify
|
||||
wrappers.obsidian
|
||||
wrappers.marktext
|
||||
wrappers.webcord
|
||||
(wrappers.kitty {inherit (config.myConfig.de) theme;})
|
||||
(wrappers.rofi {inherit (config.myConfig.de) theme;})
|
||||
];
|
||||
pkgs.brave
|
||||
pkgs.cinnamon.nemo-with-extensions
|
||||
pkgs.jetbrains.idea-community
|
||||
pkgs.vlc
|
||||
pkgs.onlyoffice-bin_latest
|
||||
pkgs.libreoffice
|
||||
pkgs.hunspell
|
||||
pkgs.hunspellDicts.de_DE
|
||||
pkgs.hunspellDicts.en_US
|
||||
|
||||
wrappers.bottom
|
||||
wrappers.spotify
|
||||
wrappers.obsidian
|
||||
wrappers.marktext
|
||||
wrappers.webcord
|
||||
(wrappers.kitty { inherit (config.myConfig.de) theme; })
|
||||
(wrappers.rofi { inherit (config.myConfig.de) theme; })
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue