cleanup and fixes
This commit is contained in:
parent
2095205ab5
commit
801b9d7b9f
@ -31,11 +31,7 @@
|
|||||||
- This will download script with installation commands
|
- This will download script with installation commands
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix-shell -p git --command "nix run --experimental-features 'nix-command flakes' git+https://git.foglar.tech/foglar/dotfiles.git"
|
nix-shell -p git --command "nix run --experimental-features 'nix-command flakes' git+https://git.foglar.tech/foglar/psychonix-install.git"
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nix-shell -p git --command "nix run --experimental-features 'nix-command flakes' github:foglar/nixos-config"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
|
|||||||
@ -72,10 +72,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Basic programs to enable
|
# Basic programs to enable
|
||||||
programs.kdeconnect.enable = true;
|
programs = {
|
||||||
programs.wireshark.enable = true;
|
kdeconnect.enable = true;
|
||||||
programs.auto-cpufreq.enable = true;
|
wireshark.enable = true;
|
||||||
programs.nix-ld.dev.enable = true;
|
auto-cpufreq.enable = true;
|
||||||
|
nix-ld.dev.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = [inputs.install-script.packages.x86_64-linux.default];
|
environment.systemPackages = [inputs.install-script.packages.x86_64-linux.default];
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
userSettings,
|
userSettings,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# Home manager configuration
|
# Home manager configuration
|
||||||
|
|||||||
@ -16,6 +16,9 @@
|
|||||||
qutebrowser
|
qutebrowser
|
||||||
ferdium
|
ferdium
|
||||||
|
|
||||||
|
bitwarden
|
||||||
|
bitwarden-cli
|
||||||
|
|
||||||
file-roller
|
file-roller
|
||||||
stellarium
|
stellarium
|
||||||
libreoffice
|
libreoffice
|
||||||
|
|||||||
@ -127,6 +127,12 @@
|
|||||||
keyword = "git";
|
keyword = "git";
|
||||||
url = "https://git.foglar.tech";
|
url = "https://git.foglar.tech";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Vaultwarden";
|
||||||
|
tags = ["vaultwarden"];
|
||||||
|
keyword = "vault";
|
||||||
|
url = "https://vault.foglar.duckdns.org";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -147,6 +153,7 @@
|
|||||||
duckduckgo-privacy-essentials
|
duckduckgo-privacy-essentials
|
||||||
return-youtube-dislikes
|
return-youtube-dislikes
|
||||||
user-agent-string-switcher
|
user-agent-string-switcher
|
||||||
|
privacy-badger
|
||||||
]
|
]
|
||||||
else []
|
else []
|
||||||
);
|
);
|
||||||
|
|||||||
39
nixos/system/packages/syncthing.nix
Normal file
39
nixos/system/packages/syncthing.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
userSettings,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
options = {
|
||||||
|
program.syncthing.enable = lib.mkEnableOption "syncthing";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.program.syncthing.enable {
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
openDefaultPorts = true;
|
||||||
|
settings.gui = {
|
||||||
|
user = "${userSettings.username}";
|
||||||
|
#! password = "test";
|
||||||
|
#! User Hashed password is stored in SOPS
|
||||||
|
#! and is set in the module configuration
|
||||||
|
#! file ./sops/sops.nix
|
||||||
|
};
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
devices = {
|
||||||
|
"Masaoka" = {id = "LGQUK6E-YEPVYKC-5MNXXHO-FZRD6SE-BBPHNGE-RKRGSSW-WIIWNVA-ZO3DKQO";};
|
||||||
|
"Tsunemori" = {id = "JPOXL54-KPM6LBK-52B6NDP-3PC76WS-VNMSQLK-2S4HWDZ-6ORFJ55-7KDO3QG";};
|
||||||
|
};
|
||||||
|
#folders = {
|
||||||
|
# "Documents" = {
|
||||||
|
# path = "/home/${userSettings.username}/Documents";
|
||||||
|
# devices = ["Masaoka"];
|
||||||
|
# };
|
||||||
|
#};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -22,6 +22,7 @@
|
|||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
users.users.${userSettings.username}.extraGroups = ["networkmanager"];
|
users.users.${userSettings.username}.extraGroups = ["networkmanager"];
|
||||||
|
networking.nameservers = ["192.168.8.140" "1.1.1.1"];
|
||||||
})
|
})
|
||||||
(
|
(
|
||||||
lib.mkIf config.sys.bluetooth.enable {
|
lib.mkIf config.sys.bluetooth.enable {
|
||||||
|
|||||||
@ -19,27 +19,26 @@
|
|||||||
terminal.font = "${pkgs.terminus-nerdfont}share/fonts/truetype/NerdFonts/Terminess/TerminessNerdFont-Regular.ttf";
|
terminal.font = "${pkgs.terminus-nerdfont}share/fonts/truetype/NerdFonts/Terminess/TerminessNerdFont-Regular.ttf";
|
||||||
|
|
||||||
# Simply install just the packages
|
# Simply install just the packages
|
||||||
environment.packages = with pkgs; [
|
#environment.packages = with pkgs; [
|
||||||
nano
|
# Some common stuff that people expect to have
|
||||||
# Some common stuff that people expect to have
|
#procps
|
||||||
#procps
|
#killall
|
||||||
#killall
|
#diffutils
|
||||||
#diffutils
|
#findutils
|
||||||
#findutils
|
#utillinux
|
||||||
#utillinux
|
#tzdata
|
||||||
#tzdata
|
#hostname
|
||||||
#hostname
|
#man
|
||||||
#man
|
#gnugrep
|
||||||
#gnugrep
|
#gnupg
|
||||||
#gnupg
|
#gnused
|
||||||
#gnused
|
#gnutar
|
||||||
#gnutar
|
#bzip2
|
||||||
#bzip2
|
#gzip
|
||||||
#gzip
|
#xz
|
||||||
#xz
|
#zip
|
||||||
#zip
|
#unzip
|
||||||
#unzip
|
#];
|
||||||
];
|
|
||||||
|
|
||||||
environment.etcBackupExtension = ".bak";
|
environment.etcBackupExtension = ".bak";
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user