Compare commits
3 commits
8b1a6aca39
...
2c69e1f116
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c69e1f116 | |||
| 3e14220569 | |||
| 211fa03252 |
22 changed files with 540 additions and 507 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{...}: {
|
||||
nix.settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
download-buffer-size = 524288000;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{...}: {
|
||||
nix.settings = {
|
||||
trusted-users = ["root" "@wheel"];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@
|
|||
root,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
imports = [
|
||||
inputs.zen.homeModules.twilight
|
||||
|
||||
|
|
@ -77,8 +76,7 @@
|
|||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
home.file.".mozilla/native-messaging-hosts/tridactyl.json".source =
|
||||
"${upkgs.tridactyl-native}/lib/mozilla/native-messaging-hosts/tridactyl.json";
|
||||
home.file.".mozilla/native-messaging-hosts/tridactyl.json".source = "${upkgs.tridactyl-native}/lib/mozilla/native-messaging-hosts/tridactyl.json";
|
||||
|
||||
# some packages are enabled from their own module in ./modules
|
||||
home.packages = with upkgs; [
|
||||
|
|
@ -101,7 +99,7 @@
|
|||
ripgrep # rlly fast grep :3
|
||||
zip # zips .zip
|
||||
unzip # unzips .zip
|
||||
(btop.override { rocmSupport = true; }) # btop + amd gpu support
|
||||
(btop.override {rocmSupport = true;}) # btop + amd gpu support
|
||||
nmap # network discovery and mapping tool!
|
||||
distrobox # use any linux distro inside ur terminal x3
|
||||
parted # create, resize, copy, image partitions
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@
|
|||
"hyprland/workspaces" = {
|
||||
format = "{id}";
|
||||
};
|
||||
"ext/workspaces" = { # not enabled yet, hyprland and mango need two different configs ;-;
|
||||
"ext/workspaces" = {
|
||||
# not enabled yet, hyprland and mango need two different configs ;-;
|
||||
format = "{id}";
|
||||
ignore-hidden = true;
|
||||
on-click = "activate";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ upkgs, ... }:
|
||||
{
|
||||
{upkgs, ...}: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
package = upkgs.alacritty-graphics;
|
||||
|
|
|
|||
|
|
@ -8,10 +8,18 @@ vim.opt.colorcolumn = "80"
|
|||
require("plugins")
|
||||
require("lsp")
|
||||
|
||||
vim.keymap.set('n', '<A-h>', function() vim.cmd('wincmd h') end)
|
||||
vim.keymap.set('n', '<A-j>', function() vim.cmd('wincmd j') end)
|
||||
vim.keymap.set('n', '<A-k>', function() vim.cmd('wincmd k') end)
|
||||
vim.keymap.set('n', '<A-l>', function() vim.cmd('wincmd l') end)
|
||||
vim.keymap.set("n", "<A-h>", function()
|
||||
vim.cmd("wincmd h")
|
||||
end)
|
||||
vim.keymap.set("n", "<A-j>", function()
|
||||
vim.cmd("wincmd j")
|
||||
end)
|
||||
vim.keymap.set("n", "<A-k>", function()
|
||||
vim.cmd("wincmd k")
|
||||
end)
|
||||
vim.keymap.set("n", "<A-l>", function()
|
||||
vim.cmd("wincmd l")
|
||||
end)
|
||||
|
||||
local uv = vim.loop
|
||||
local colorscheme_filepath = "/home/aurora/.cache/nvim/neovim-colors"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,53 @@
|
|||
vim.keymap.set("n", "<leader>P", function()
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "ConformProject" })
|
||||
vim.cmd("ConformProject")
|
||||
end, { noremap = true, silent = true })
|
||||
|
||||
vim.api.nvim_create_user_command("ConformProject", function()
|
||||
local conform = require("conform")
|
||||
local root = vim.fn.getcwd()
|
||||
|
||||
-- respects .gitignore
|
||||
local handle = io.popen(string.format("cd %s && git ls-files --cached --others --exclude-standard", root))
|
||||
|
||||
if not handle then
|
||||
vim.notify("Failed to scan project files", vim.log.levels.ERROR)
|
||||
return
|
||||
end
|
||||
|
||||
local files = {}
|
||||
for file in handle:lines() do
|
||||
table.insert(files, vim.fn.fnamemodify(file, ":p"))
|
||||
end
|
||||
handle:close()
|
||||
|
||||
-- format each file
|
||||
-- TODO: maybe run each formatter on the directory instead as it may be faster
|
||||
-- although that would actually mean we can't count what files were formatted so i don't know
|
||||
local formatted_count = 0
|
||||
for _, filepath in ipairs(files) do
|
||||
local bufnr = vim.fn.bufadd(filepath)
|
||||
vim.fn.bufload(bufnr)
|
||||
|
||||
local ok, err = conform.format({ bufnr = bufnr })
|
||||
if ok then
|
||||
formatted_count = formatted_count + 1
|
||||
-- Save the buffer
|
||||
vim.api.nvim_buf_call(bufnr, function()
|
||||
vim.cmd("write")
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
vim.notify(string.format("Formatted %d files", formatted_count), vim.log.levels.INFO)
|
||||
end, {})
|
||||
|
||||
-- docs -> https://github.com/stevearc/conform.nvim
|
||||
return {
|
||||
{
|
||||
"conform.nvim",
|
||||
enabled = nixCats("format") or false,
|
||||
event = "User ConformProject", -- also will load when we format the entire project yayayayy :333
|
||||
keys = {
|
||||
{ "<leader>p", desc = "Format File (pretty :3)" },
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4,13 +4,12 @@
|
|||
inputs,
|
||||
mpkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (inputs.nixcats)
|
||||
}: let
|
||||
inherit
|
||||
(inputs.nixcats)
|
||||
utils
|
||||
;
|
||||
in
|
||||
{
|
||||
in {
|
||||
imports = [
|
||||
inputs.nixcats.homeModule
|
||||
];
|
||||
|
|
@ -31,15 +30,14 @@ in
|
|||
];
|
||||
# see the packageDefinitions below.
|
||||
# This says which of those to install.
|
||||
packageNames = [ "auroranvim" ];
|
||||
packageNames = ["auroranvim"];
|
||||
|
||||
luaPath = "${./.}";
|
||||
|
||||
# the .replace vs .merge options are for modules based on existing configurations,
|
||||
# they refer to how multiple categoryDefinitions get merged together by the module.
|
||||
# for useage of this section, refer to :h nixCats.flake.outputs.categories
|
||||
categoryDefinitions.replace =
|
||||
{
|
||||
categoryDefinitions.replace = {
|
||||
pkgs,
|
||||
settings,
|
||||
categories,
|
||||
|
|
@ -47,8 +45,7 @@ in
|
|||
name,
|
||||
mkNvimPlugin,
|
||||
...
|
||||
}@packageDef:
|
||||
{
|
||||
} @ packageDef: {
|
||||
lspsAndRuntimeDeps = with pkgs; {
|
||||
general = [
|
||||
ripgrep
|
||||
|
|
@ -188,7 +185,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
extraWrapperArgs = { };
|
||||
extraWrapperArgs = {};
|
||||
# lists of the functions you would have passed to
|
||||
# python.withPackages or lua.withPackages
|
||||
|
||||
|
|
@ -196,18 +193,16 @@ in
|
|||
# in your lua config via
|
||||
# vim.g.python3_host_prog
|
||||
# or run from nvim terminal via :!<packagename>-python3
|
||||
extraPython3Packages = { };
|
||||
extraPython3Packages = {};
|
||||
# populates $LUA_PATH and $LUA_CPATH
|
||||
extraLuaPackages = { };
|
||||
extraLuaPackages = {};
|
||||
};
|
||||
|
||||
# see :help nixCats.flake.outputs.packageDefinitions
|
||||
packageDefinitions.replace = {
|
||||
# these are the names of your packages
|
||||
# you can include as many as you wish.
|
||||
auroranvim =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
auroranvim = {pkgs, ...}: {
|
||||
# they contain a settings set defined above
|
||||
# see :help nixCats.flake.outputs.settings
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.nixcord.homeModules.nixcord
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ upkgs, ... }:
|
||||
{
|
||||
{upkgs, ...}: {
|
||||
# optional dependencies can be found here:
|
||||
# https://yazi-rs.github.io/docs/installation/
|
||||
home.packages = with upkgs; [
|
||||
|
|
@ -24,12 +23,12 @@
|
|||
mgr.prepend_keymap = [
|
||||
# drag and drop!!
|
||||
{
|
||||
on = [ "<S-c>" ];
|
||||
on = ["<S-c>"];
|
||||
run = ''shell "ripdrag -x -a \"$@\"" --confirm'';
|
||||
}
|
||||
# copy hovered file to clipboard
|
||||
{
|
||||
on = [ "<S-y>" ];
|
||||
on = ["<S-y>"];
|
||||
run = ''shell -- path=%h; echo "file://$path" | wl-copy -t text/uri-list'';
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ upkgs, ... }:
|
||||
{
|
||||
{upkgs, ...}: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
{...}: {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = null;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.mango.hmModules.mango
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,22 +1,17 @@
|
|||
{ ... }:
|
||||
{
|
||||
wayland.windowManager.river =
|
||||
let
|
||||
{...}: {
|
||||
wayland.windowManager.river = let
|
||||
layout = "rivertile";
|
||||
in
|
||||
{
|
||||
in {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
|
||||
settings =
|
||||
let
|
||||
settings = let
|
||||
main = "Super";
|
||||
|
||||
# applications
|
||||
terminal = "alacritty";
|
||||
browser = "firefox";
|
||||
in
|
||||
{
|
||||
in {
|
||||
default-layout = "${layout}";
|
||||
output-layout = "${layout}";
|
||||
border-width = 1;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
{config, ...}: {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = rec {
|
||||
|
|
@ -7,24 +6,22 @@
|
|||
terminal = "alacritty";
|
||||
|
||||
# disable sway bar
|
||||
bars = [ ];
|
||||
bars = [];
|
||||
|
||||
# set border colors
|
||||
#colors = {
|
||||
#focused =
|
||||
|
||||
startup = [
|
||||
{ command = "awww-daemon"; }
|
||||
{ command = "waybar"; }
|
||||
{command = "awww-daemon";}
|
||||
{command = "waybar";}
|
||||
];
|
||||
|
||||
keybindings =
|
||||
let
|
||||
keybindings = let
|
||||
main = config.wayland.windowManager.sway.config.modifier;
|
||||
terminal = config.wayland.windowManager.sway.config.terminal;
|
||||
browser = "firefox";
|
||||
in
|
||||
{
|
||||
in {
|
||||
"${main}+c" = "kill"; # close focused window
|
||||
"${main}+Alt+Delete" = "exit"; # exit sway
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
@ -117,7 +116,7 @@
|
|||
|
||||
users.users.foxora = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
extraGroups = ["wheel"];
|
||||
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
|
|
|
|||
|
|
@ -1,31 +1,34 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ahci" "ehci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["ahci" "ehci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/7f22e35f-7536-49c4-9c04-88874e87f266";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/7f22e35f-7536-49c4-9c04-88874e87f266";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/0213-F9A0";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/0213-F9A0";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/0d04172b-aed8-42ea-9cb8-e5dcbf960200"; }
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/0d04172b-aed8-42ea-9cb8-e5dcbf960200";}
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
@ -57,7 +56,7 @@
|
|||
|
||||
users.users.foxora = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
extraGroups = ["wheel"];
|
||||
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
|
|
@ -91,4 +90,3 @@
|
|||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,31 +1,34 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/1bc53888-6db8-46df-aa28-975b710c5de8";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/1bc53888-6db8-46df-aa28-975b710c5de8";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/12CE-A600";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/12CE-A600";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/60643004-6916-46b3-8655-66fdc28cf5ad"; }
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/60643004-6916-46b3-8655-66fdc28cf5ad";}
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@
|
|||
root,
|
||||
upkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
|
|
@ -13,7 +12,7 @@
|
|||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot = rec {
|
||||
initrd.kernelModules = [ "amdgpu" ];
|
||||
initrd.kernelModules = ["amdgpu"];
|
||||
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
|
|
@ -23,8 +22,8 @@
|
|||
kernelPackages = upkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v4;
|
||||
# TODO: idk make this a toggle or smth idfk
|
||||
# kernelPackages = upkgs.linuxPackages_latest;
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModulePackages = with kernelPackages; [ v4l2loopback ];
|
||||
kernelModules = ["v4l2loopback"];
|
||||
extraModulePackages = with kernelPackages; [v4l2loopback];
|
||||
|
||||
# qemu
|
||||
# binfmt.emulatedSystems = [
|
||||
|
|
@ -99,7 +98,7 @@
|
|||
];
|
||||
|
||||
config.common = {
|
||||
"org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ];
|
||||
"org.freedesktop.impl.portal.FileChooser" = ["termfilechooser"];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -214,8 +213,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules =
|
||||
let
|
||||
systemd.tmpfiles.rules = let
|
||||
imagePath = root + "/homes/aurora/profile.png";
|
||||
in
|
||||
lib.mkIf (builtins.pathExists imagePath) [
|
||||
|
|
|
|||
23
snow.nix
23
snow.nix
|
|
@ -1,24 +1,23 @@
|
|||
{ cerulean, ... }@inputs:
|
||||
{cerulean, ...} @ inputs:
|
||||
cerulean.mkNexus ./. (self: {
|
||||
nexus = {
|
||||
args = { inherit inputs; };
|
||||
args = {inherit inputs;};
|
||||
|
||||
modules = with inputs; [ ];
|
||||
modules = with inputs; [];
|
||||
|
||||
base = inputs.nixpkgs;
|
||||
homeManager = inputs.home-manager;
|
||||
|
||||
groups = {
|
||||
servers = { };
|
||||
servers = {};
|
||||
};
|
||||
|
||||
nodes =
|
||||
let
|
||||
inherit (self.nexus)
|
||||
nodes = let
|
||||
inherit
|
||||
(self.nexus)
|
||||
groups
|
||||
;
|
||||
in
|
||||
{
|
||||
in {
|
||||
nixarawrui = {
|
||||
system = "x86_64-linux";
|
||||
|
||||
|
|
@ -47,7 +46,7 @@ cerulean.mkNexus ./. (self: {
|
|||
autostart = true;
|
||||
|
||||
config = {
|
||||
imports = [ ./vms/home-assistant/default.nix ];
|
||||
imports = [./vms/home-assistant/default.nix];
|
||||
|
||||
networking.hostName = "home-assistant";
|
||||
|
||||
|
|
@ -98,9 +97,9 @@ cerulean.mkNexus ./. (self: {
|
|||
systemd.network.networks."20-lan" = {
|
||||
matchConfig.Type = "ether";
|
||||
networkConfig = {
|
||||
Address = [ "10.16.1.127/24" ];
|
||||
Address = ["10.16.1.127/24"];
|
||||
Gateway = "10.16.1.1";
|
||||
DNS = [ "10.16.1.1" ];
|
||||
DNS = ["10.16.1.1"];
|
||||
IPv6AcceptRA = true;
|
||||
DHCP = "yes";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
services.home-assistant = {
|
||||
enable = true;
|
||||
configDir = "/var/lib/hass/hass";
|
||||
|
|
@ -21,7 +20,8 @@
|
|||
"mobile_app"
|
||||
];
|
||||
|
||||
extraPackages = python3Packages: with python3Packages; [
|
||||
extraPackages = python3Packages:
|
||||
with python3Packages; [
|
||||
getmac
|
||||
aiohue
|
||||
numpy
|
||||
|
|
@ -39,10 +39,10 @@
|
|||
# configures the config directory to be mounted
|
||||
# correctly with the right permissions
|
||||
systemd.services.hass-permissions = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "var-lib-hass.mount" ];
|
||||
requires = [ "var-lib-hass.mount" ];
|
||||
before = [ "home-assistant.service" ];
|
||||
wantedBy = ["multi-user.target"];
|
||||
after = ["var-lib-hass.mount"];
|
||||
requires = ["var-lib-hass.mount"];
|
||||
before = ["home-assistant.service"];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.bash}/bin/bash -c 'mkdir -p /var/lib/hass/hass && chown hass:hass /var/lib/hass/hass'";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue