mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
@@ -13,8 +13,8 @@ let
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
xlib.device = {
|
xlib.device = {
|
||||||
type = "primary";
|
type = "secondary";
|
||||||
hostname = "lamet";
|
hostname = "rydiwo";
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = with inputs; [
|
imports = with inputs; [
|
||||||
@@ -74,14 +74,14 @@ let
|
|||||||
"nomodeset"
|
"nomodeset"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# syncthing = {
|
syncthing = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# systemService = true;
|
systemService = true;
|
||||||
# configDir = "${xlib.dirs.user-storage}/Syncthing/${config.system.name}";
|
configDir = "${xlib.dirs.user-storage}/Syncthing/${config.system.name}";
|
||||||
# dataDir = "${xlib.dirs.user-home}";
|
dataDir = "${xlib.dirs.user-home}";
|
||||||
# group = "users";
|
group = "users";
|
||||||
# user = "${xlib.device.username}";
|
user = "${xlib.device.username}";
|
||||||
# };
|
};
|
||||||
# pipewire = {
|
# pipewire = {
|
||||||
# enable = lib.mkDefault true;
|
# enable = lib.mkDefault true;
|
||||||
# systemWide = true;
|
# systemWide = true;
|
||||||
@@ -138,6 +138,6 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||||||
];
|
];
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
deviceType = "primary";
|
deviceType = "secondary";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
xlib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
symlinksPaths = {
|
||||||
|
# cfg
|
||||||
|
"${xlib.dirs.user-storage}/beets" = ".config/beets";
|
||||||
|
"${xlib.dirs.user-storage}/ludusavi" = ".config/ludusavi";
|
||||||
|
"${xlib.dirs.user-storage}/solaar" = ".config/solaar";
|
||||||
|
"${xlib.dirs.user-storage}/easyeffects" = ".config/easyeffects";
|
||||||
|
"${xlib.dirs.user-storage}/KeePassXC" = ".config/keepassxc";
|
||||||
|
"${xlib.dirs.user-storage}/v2rayN" = ".local/share/v2rayN";
|
||||||
|
"/etc/nixos" = "Configuration";
|
||||||
|
|
||||||
|
# smthng
|
||||||
|
# "${xlib.dirs.soptur-drive}/AI/LM Studio" = ".lmstudio";
|
||||||
|
"${xlib.dirs.therima-drive}" = "External";
|
||||||
|
};
|
||||||
|
mkLinks = lib.mapAttrs' (sourcePath: targetPath: {
|
||||||
|
name = targetPath;
|
||||||
|
value.source = config.lib.file.mkOutOfStoreSymlink "${sourcePath}";
|
||||||
|
}) symlinksPaths;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./minimal.nix
|
||||||
|
./modules/dconf.nix
|
||||||
|
./modules/packages.nix
|
||||||
|
./modules/plasma-manager.nix
|
||||||
|
# ./modules/external.nix
|
||||||
|
./modules/external-mini-laptop.nix
|
||||||
|
./modules/noctalia.nix
|
||||||
|
];
|
||||||
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
autostart.enable = true;
|
||||||
|
userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
desktop = "${config.xdg.dataHome}/desktop";
|
||||||
|
documents = null;
|
||||||
|
download = "${config.home.homeDirectory}/Downloads";
|
||||||
|
music = "${config.home.homeDirectory}/Music";
|
||||||
|
pictures = "${config.home.homeDirectory}/Pictures";
|
||||||
|
publicShare = "${config.home.homeDirectory}/Misc/Public";
|
||||||
|
templates = null;
|
||||||
|
videos = "${config.home.homeDirectory}/Pictures/Videos";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
home = {
|
||||||
|
file = mkLinks;
|
||||||
|
pointerCursor = {
|
||||||
|
enable = true;
|
||||||
|
x11.enable = true;
|
||||||
|
gtk.enable = true;
|
||||||
|
size = 24;
|
||||||
|
name = "Qogir";
|
||||||
|
package = pkgs.qogir-icon-theme;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
home.activation = {
|
||||||
|
yaziSync = ''
|
||||||
|
${pkgs.rsync}/bin/rsync -Lrv "${config.home.homeDirectory}/.config/yazi/" "${xlib.dirs.user-storage}/yazi/"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../desktop
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user