Compare commits
12 Commits
1cd22ca95e
...
no-lightdm
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f3f6dd12f | ||
|
|
356fef695a | ||
|
|
c4796eb79c | ||
|
|
de12aa1313 | ||
|
|
76a3e5371c | ||
|
|
9ea7ca67d0 | ||
|
|
0db83a3517 | ||
|
|
31a5c24381 | ||
|
|
69a6503c53 | ||
|
|
799d942ce7 | ||
|
|
408081c786 | ||
|
|
b8ca6cf5c4 |
9
applications/matrix-element.nix
Normal file
9
applications/matrix-element.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
let
|
||||||
|
profile = import ./profile.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
element-desktop
|
||||||
|
];
|
||||||
|
}
|
||||||
9
applications/open-modelica.nix
Normal file
9
applications/open-modelica.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
let
|
||||||
|
profile = import ./profile.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
openmodelica.combined
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -8,11 +8,11 @@ in
|
|||||||
./browser.nix
|
./browser.nix
|
||||||
./planner.nix
|
./planner.nix
|
||||||
./window-manager.nix
|
./window-manager.nix
|
||||||
|
../applications/matrix-element.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
kitty
|
kitty
|
||||||
evolution
|
|
||||||
pamixer
|
pamixer
|
||||||
nemo-with-extensions
|
nemo-with-extensions
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ in
|
|||||||
DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
DisableAppUpdate = true;
|
DisableAppUpdate = true;
|
||||||
|
|
||||||
EnableOpenPGP = true;
|
|
||||||
|
|
||||||
Preferences = {
|
Preferences = {
|
||||||
"mail.provider.enabled" = false;
|
"mail.provider.enabled" = false;
|
||||||
"mail.openpgp.allow_external_gnupg" = true;
|
"mail.openpgp.allow_external_gnupg" = true;
|
||||||
@@ -34,6 +32,17 @@ in
|
|||||||
Certificates = {
|
Certificates = {
|
||||||
ImportEnterpriseRoots = true;
|
ImportEnterpriseRoots = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PasswordManagerEnabled = true;
|
||||||
|
Cookies = {
|
||||||
|
"Default" = false;
|
||||||
|
"AcceptThirdParty" = "never";
|
||||||
|
"Locked" = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
DefaultDownloadDirectory = "/tmp";
|
||||||
|
DisableBuiltinPDFViewer = true;
|
||||||
|
DisablePasswordReveal = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
let
|
let
|
||||||
dotfiles_hypr = pkgs.fetchgit {
|
dotfiles_hypr = pkgs.fetchgit {
|
||||||
url = "https://git.nichkara.eu/dotfiles/hypr";
|
url = "https://git.nichkara.eu/dotfiles/hypr";
|
||||||
rev = "afddd6b09803a66f5a77f0a8021757d2b7d87c75";
|
rev = "83da92f0d64620c6503b8b2d9fa27bd79816e025";
|
||||||
sha256 = "sha256-bIwb0gxgYcFKFGt/UhSG1oLJSnSk/EwMjO3FNRmq4ok=";
|
sha256 = "sha256-kEKJiH0oK0PuciJZ6ucinTKX5eMWxPPZXYNS1+HIcRA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dotfiles_waybar = pkgs.fetchgit {
|
dotfiles_waybar = pkgs.fetchgit {
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
profile = import ./profile.nix;
|
profile = import ./profile.nix;
|
||||||
|
home-directory = "/home/${profile.username}";
|
||||||
|
ssh-filename = "${home-directory}/.ssh/id_ed25519";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -36,5 +38,45 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.ssh = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
Host git.nickr.eu
|
||||||
|
HostName git.nickr.eu
|
||||||
|
Port 22
|
||||||
|
|
||||||
|
Host nickr.eu
|
||||||
|
HostName nickr.eu
|
||||||
|
Port 222
|
||||||
|
|
||||||
|
Host nichkara.eu
|
||||||
|
HostName nichkara.eu
|
||||||
|
Port 222
|
||||||
|
|
||||||
|
Host git.nichkara.eu
|
||||||
|
HostName git.nichkara.eu
|
||||||
|
Port 22
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.generate-ssh-key = {
|
||||||
|
description = "Generate SSH key if missing";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "network.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
User = profile.username;
|
||||||
|
};
|
||||||
|
|
||||||
|
script = ''
|
||||||
|
if [ ! -f ${ssh-filename} ]; then
|
||||||
|
mkdir -p ${home-directory}/.ssh
|
||||||
|
chmod 700 ${home-directory}/.ssh
|
||||||
|
${pkgs.openssh}/bin/ssh-keygen -t ed25519 -N "" -f ${ssh-filename}
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ in
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./file-system.nix
|
./file-system.nix
|
||||||
|
./media.nix
|
||||||
|
./security/keyring.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|||||||
@@ -3,12 +3,17 @@
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
calibre
|
|
||||||
unzip
|
unzip
|
||||||
|
deja-dup
|
||||||
|
gnutar
|
||||||
|
xz
|
||||||
|
gzip
|
||||||
|
gz-utils
|
||||||
|
file
|
||||||
|
fileinfo
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
17
system-environment/media.nix
Normal file
17
system-environment/media.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
calibre
|
||||||
|
kdePackages.okular
|
||||||
|
vlc
|
||||||
|
totem
|
||||||
|
w3m
|
||||||
|
epr
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
18
system-environment/security/keyring.nix
Normal file
18
system-environment/security/keyring.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
let
|
||||||
|
profile = import ../profile.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [ ];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
seahorse
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
security.pam.services.login.enableGnomeKeyring = true;
|
||||||
|
}
|
||||||
@@ -4,23 +4,16 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./editor.nix
|
||||||
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
|
||||||
neovim
|
|
||||||
astyle
|
astyle
|
||||||
python313Packages.pynvim
|
|
||||||
hyfetch
|
hyfetch
|
||||||
fzf
|
|
||||||
fzf-zsh
|
fzf-zsh
|
||||||
ripgrep
|
|
||||||
ripgrep-all
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables = {
|
|
||||||
EDITOR = "nvim";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clock24 = true;
|
clock24 = true;
|
||||||
|
|||||||
21
terminal-environment/editor.nix
Normal file
21
terminal-environment/editor.nix
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
profile = import ../profile.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
vim
|
||||||
|
fzf
|
||||||
|
ripgrep
|
||||||
|
ripgrep-all
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
withPython3 = true;
|
||||||
|
withRuby = true;
|
||||||
|
withNodeJs = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user