fix ft home config
This commit is contained in:
1 parent
347fcf9166
commit
daad575767
8 files changed
+30
-63
No files matched your search
Generated
+4
-4
@@ -163,16 +163,16 @@
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1791776524,
|
||||
"narHash": "sha256-L9bAAGXAsSeXhKpFl5aafMQk0H9Z2/19MJetel2DwIc=",
|
||||
"lastModified": 1791935857,
|
||||
"narHash": "sha256-Zrhxwe8+HMRiDpjsOIoOIUvK6b8HCp3FL5R50N901hU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5c802b29c5cd56bc6e6bf1c3a6321c6cef4073b2",
|
||||
"rev": "952dd4355e1932709b993aa31de5e5b7bbe114f7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "master",
|
||||
"ref": "release-26.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
description = "Nixos and home-manager config flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/master";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/release-26.05";
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
|
||||
sops-nix = {
|
||||
|
||||
@@ -1,21 +1,23 @@
|
||||
{ config, homeDir, ... }:
|
||||
{ config, lib, homeDir, configSops, ... }:
|
||||
{
|
||||
programs.rclone.enable = true;
|
||||
sops.secrets."nextcloud_fuse/password" = {};
|
||||
programs.rclone.remotes.nextcloud = {
|
||||
config = {
|
||||
type = "webdav";
|
||||
url = "https://dnc.tmoron.fr/remote.php/dav/files/tom";
|
||||
vendor = "nextcloud";
|
||||
user = "tom";
|
||||
config = lib.mkIf configSops {
|
||||
programs.rclone.enable = true;
|
||||
sops.secrets."nextcloud_fuse/password" = {};
|
||||
programs.rclone.remotes.nextcloud = {
|
||||
config = {
|
||||
type = "webdav";
|
||||
url = "https://dnc.tmoron.fr/remote.php/dav/files/tom";
|
||||
vendor = "nextcloud";
|
||||
user = "tom";
|
||||
};
|
||||
secrets.pass = config.sops.secrets."nextcloud_fuse/password".path;
|
||||
mounts = {
|
||||
"/" = {
|
||||
enable = true;
|
||||
mountPoint = "${homeDir}/nextcloud";
|
||||
options.vfs-cache-mode = "writes";
|
||||
};
|
||||
};
|
||||
};
|
||||
secrets.pass = config.sops.secrets."nextcloud_fuse/password".path;
|
||||
mounts = {
|
||||
"/" = {
|
||||
enable = true;
|
||||
mountPoint = "${homeDir}/nextcloud";
|
||||
options.vfs-cache-mode = "writes";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -30,7 +30,7 @@ minimal,
|
||||
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
sops = lib.mkIf configSops{
|
||||
sops = lib.mkIf configSops {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
age.keyFile = "${homeDir}/.config/sops/age/keys.txt";
|
||||
};
|
||||
|
||||
@@ -7,16 +7,14 @@
|
||||
rofi
|
||||
];
|
||||
|
||||
mods.game.enable = false;
|
||||
mods.hyprland.enable = false;
|
||||
mods.x11.enable = true;
|
||||
programs.firefox.enable = false;
|
||||
programs.firefox.enable = lib.mkForce false;
|
||||
|
||||
mods.polybar.fspath = "/home/tomoron";
|
||||
|
||||
mods.sync.homeFolder = "/home/tomoron/sync";
|
||||
mods.sync.defaultSynced = false;
|
||||
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];
|
||||
mods.sync.syncedAdditions = [ "42_desktop" ];
|
||||
mods.sync.customHostName = "pc42";
|
||||
|
||||
programs.bash.profileExtra =
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2025/02/10 00:21:11 by tomoron #+# #+# #
|
||||
# Updated: 2025/06/18 15:49:03 by tomoron ### ########.fr #
|
||||
# Updated: 2026/10/14 10:23:32 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
{lib, config, ... }:
|
||||
@@ -30,9 +30,8 @@
|
||||
pgrep picom > /dev/null || picom &
|
||||
pgrep dunst >/dev/null || dunst &
|
||||
numlockx on &
|
||||
polybar &
|
||||
polybar &
|
||||
setxkbmap fr us&
|
||||
nitrogen --restore &
|
||||
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -d)&
|
||||
''; # this is messy but i don't care, x11 is just a fallback now
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{ config, lib, pkgs, homeDir, ... }:
|
||||
|
||||
let
|
||||
background = "${homeDir}/.config/wallpaper.png";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf config.mods.x11.enable {
|
||||
|
||||
home.file.".config/nitrogen/bg-saved.cfg".text = ''
|
||||
[xin_0]
|
||||
file=${background}
|
||||
mode=5
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_1]
|
||||
file=${background}
|
||||
mode=5
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_2]
|
||||
file=${background}
|
||||
mode=5
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_3]
|
||||
file=${background}
|
||||
mode=5
|
||||
bgcolor=#000000
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
config = lib.mkIf config.mods.x11.enable {
|
||||
home.file.".xinitrc".text = "exec bspwm";
|
||||
home.packages = with pkgs; [
|
||||
nitrogen
|
||||
xwallpaper
|
||||
numlockx
|
||||
];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user