1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 07:26:20 +00:00

update 

This commit is contained in:
azikx 2024-10-15 17:26:42 +09:00
parent 61d226cde7
commit 47183dce05
27 changed files with 56 additions and 33 deletions

View file

@ -3,19 +3,18 @@
let
nxsys = nixpkgs.lib.nixosSystem;
hmsys = home-manager.lib.homeManagerConfiguration;
system = "x86_64-linux";
in
{
nixosConfigurations = {
wysvort = nxsys {
specialArgs = { inherit system inputs; };
specialArgs = { inherit inputs; };
modules = [ ./host ];
};
};
homeConfigurations = {
megamozg = hmsys {
pkgs = nixpkgs.legacyPackages.${system};
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = { inherit inputs; };
modules = [ ./home ];
};

View file

@ -2,6 +2,6 @@
{
home.packages = with pkgs; [
(callPackage ./anicliru/anicli-ru.nix { })
(callPackage ./torrserver/default.nix { })
# (callPackage ./torrserver/default.nix { })
];
}

View file

@ -0,0 +1,7 @@
{
imports = [
./locale.nix
./security.nix
./user.nix
];
}

View file

@ -1,13 +1,7 @@
{
imports = [
./battery.nix
./locale.nix
./nh.nix
./nix.nix
./pkgs.nix
./security.nix
./sound.nix
./user.nix
./zapret.nix
./4user
./perf
./nix
];
}

View file

@ -0,0 +1,7 @@
{
imports = [
./nh.nix
./nix.nix
./pkgs.nix
];
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
# NIX HELPER
programs.nh = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, inputs, lib, ... }:
{ pkgs, inputs, lib, ... }:
let
hpkg = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system};
in
@ -6,11 +6,11 @@ in
# OS PACKAGES
nixpkgs = { hostPlatform = lib.mkDefault "x86_64-linux"; };
environment.systemPackages = with pkgs; [
nh git fish
doas micro
zapret
hyprland light
git
helix
hyprland
home-manager
(callPackage ./torrserver/default.nix { })
];
# PROGRAMS ENABLE

View file

@ -1,6 +1,6 @@
{ inputs, ... }:
{
imports = [ auto-cpufreq.nixosModules.default ];
imports = [ inputs.auto-cpufreq.nixosModules.default ];
programs.auto-cpufreq = { # CPU PERFMORMANCE
enable = true;
settings = {

View file

@ -0,0 +1,6 @@
{
imports = [
./autocpu.nix
./battery.nix
];
}

View file

@ -1,9 +1,6 @@
{
imports = [
./boot.nix
./disks.nix
./hardware.nix
./network.nix
./service.nix
./important
./other
];
}

View file

@ -0,0 +1,8 @@
{
imports = [
./boot.nix
./disks.nix
./hardware.nix
./services.nix
];
}

View file

@ -0,0 +1,8 @@
{
imports = [
./network.nix
./sound.nix
# ./torrserver.nix
./zapret.nix
];
}

View file

@ -1,18 +1,15 @@
{ pkgs, ... }:
{
systemd = {
packages = with pkgs; [ # PACKAGES
lact
];
services = { # SERVICES SEETINGS
lactd.wantedBy = ["multi-user.target"];
lact = { # LACT FOR OC
torrserver = { # TORRSERVER
enable = true;
after = ["multi-user.target"];
wantedBy = ["multi-user.target"];
path = [ "${pkgs.torrserver}" ];
serviceConfig = {
ExecStart = "${pkgs.lact}/bin/lact daemon";
ExecStart = "torrserver";
};
enable = true;
};
};
};

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }:
{ inputs, ... }:
{
# SYSTEM COLORSCHEME (see targets)
imports = [