switch to enabled from libary
This commit is contained in:
parent
d0a9427fd0
commit
e27291baef
3 changed files with 39 additions and 29 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
lib, ...
|
lib, namespace, ...
|
||||||
}:
|
}:
|
||||||
|
with lib.${namespace};
|
||||||
{
|
{
|
||||||
home.activation.removeBrowserBackups = lib.hm.dag.entryAfter ["checkLinkTargets"] ''
|
home.activation.removeBrowserBackups = lib.hm.dag.entryAfter ["checkLinkTargets"] ''
|
||||||
if [ -d "/home/philipp/.librewolf/philipp" ]; then
|
if [ -d "/home/philipp/.librewolf/philipp" ]; then
|
||||||
|
@ -9,33 +10,33 @@
|
||||||
'';
|
'';
|
||||||
awesome-flake = {
|
awesome-flake = {
|
||||||
cli-apps = {
|
cli-apps = {
|
||||||
fish.enable = true;
|
fish = enabled;
|
||||||
home-manager.enable = true;
|
home-manager = enabled;
|
||||||
lazygit.enable = true;
|
lazygit = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
tools = {
|
tools = {
|
||||||
git.enable = true;
|
git = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
librewolf.enable = true;
|
librewolf = enabled;
|
||||||
thunderbird.enable = true;
|
thunderbird = enabled;
|
||||||
chatterino.enable = true;
|
chatterino = enabled;
|
||||||
mpv.enable = true;
|
mpv = enabled;
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plasma.enable = true;
|
plasma = enabled;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
games = {
|
games = {
|
||||||
runelite.enable = true;
|
runelite = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktop = {
|
desktop = {
|
||||||
hotkeys.enable = true;
|
hotkeys = enabled;
|
||||||
panel.enable = true;
|
panel = enabled;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
namespaces,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
inputs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
with lib.${namespaces};
|
||||||
{
|
{
|
||||||
imports = with inputs.nixos-hardware.nixosModules; [
|
imports = [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
|
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
|
||||||
];
|
];
|
||||||
|
@ -61,12 +63,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh = enabled;
|
||||||
|
|
||||||
awesome-flake.services.caddy.enable = true;
|
awesome-flake.services.caddy = enabled;
|
||||||
awesome-flake.container.technitium.enable = true;
|
awesome-flake.container.technitium = enabled;
|
||||||
awesome-flake.container.invidious.enable = true;
|
awesome-flake.container.invidious = enabled;
|
||||||
awesome-flake.cli.neovim.enable = true;
|
awesome-flake.cli.neovim = enabled;
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
with lib.${namespace};
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
@ -32,24 +35,28 @@
|
||||||
|
|
||||||
awesome-flake = {
|
awesome-flake = {
|
||||||
cli = {
|
cli = {
|
||||||
neovim.enable = true;
|
neovim = enabled;
|
||||||
eza.enable = true;
|
eza = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
steam.enable = true;
|
steam = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktop.plasma.enable = true;
|
desktop.plasma = enabled;
|
||||||
hardware.audio.enable = true;
|
hardware.audio = enabled;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
btrfs.enable = true;
|
btrfs = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
system.fonts.enable = true;
|
system = {
|
||||||
system.fonts.emoji = true;
|
fonts = {
|
||||||
system.gnupg.enable = true;
|
enable = true;
|
||||||
|
emoji = true;
|
||||||
|
};
|
||||||
|
gnupg = enabled;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone
|
# Set your time zone
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue