2023-06-28-12-47-21
This commit is contained in:
@ -6,6 +6,7 @@ in {
|
||||
services = {
|
||||
vnstat.enable = true;
|
||||
tuptime.enable = true;
|
||||
locate.enable = true;
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@ -64,7 +65,6 @@ in {
|
||||
lsd
|
||||
lsof
|
||||
man-pages
|
||||
mlocate
|
||||
nethogs
|
||||
nil
|
||||
nix-du
|
||||
|
@ -17,14 +17,10 @@ in
|
||||
};
|
||||
|
||||
environment.systemPackages = with unstable.pkgs; [
|
||||
# brave
|
||||
# fswebcam
|
||||
glxinfo
|
||||
gparted
|
||||
libsecret
|
||||
# networkmanager-openconnect
|
||||
# openconnect
|
||||
# pulseaudio-ctl
|
||||
gnome.simple-scan
|
||||
];
|
||||
|
||||
@ -51,6 +47,7 @@ in
|
||||
corefonts
|
||||
google-fonts
|
||||
liberation_ttf
|
||||
gyre-fonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-emoji
|
||||
@ -77,13 +74,9 @@ in
|
||||
hardware.sane.enable = true;
|
||||
|
||||
services = {
|
||||
# mullvad-vpn.enable = true;
|
||||
mullvad-vpn.enable = true;
|
||||
gvfs.enable = true;
|
||||
# udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [ pkgs.brlaser ];
|
||||
};
|
||||
etesync-dav = {
|
||||
enable = true;
|
||||
apiUrl = "https://etesync.szczepan.ski/";
|
||||
|
@ -17,7 +17,10 @@
|
||||
|
||||
desktopManager.pantheon = {
|
||||
enable = true;
|
||||
extraWingpanelIndicators = with pkgs; [ wingpanel-indicator-ayatana ];
|
||||
extraWingpanelIndicators = with pkgs; [
|
||||
monitor
|
||||
wingpanel-indicator-ayatana
|
||||
];
|
||||
};
|
||||
|
||||
layout = "us";
|
||||
@ -28,8 +31,40 @@
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
monitor = {
|
||||
description = "indicator-monitor";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.monitor}/bin/com.github.stsdc.monitor";
|
||||
};
|
||||
};
|
||||
|
||||
indicatorapp = {
|
||||
description = "indicator-application-gtk3";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.indicator-application-gtk3}/libexec/indicator-application/indicator-application-service";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# App indicator
|
||||
environment.pathsToLink = [ "/libexec" ];
|
||||
environment.systemPackages = with pkgs; [ indicator-application-gtk3 ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
blackbox-terminal
|
||||
cinnamon.nemo-with-extensions
|
||||
gnome-online-accounts
|
||||
gnome.gnome-control-center
|
||||
gnome.gnome-system-monitor
|
||||
indicator-application-gtk3
|
||||
monitor
|
||||
ulauncher
|
||||
];
|
||||
|
||||
environment.pantheon.excludePackages = with pkgs.pantheon; [
|
||||
elementary-code
|
||||
];
|
||||
}
|
||||
|
9
configs/plasma.nix
Normal file
9
configs/plasma.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.dconf.enable = true;
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
services.xserver.desktopManager.plasma5.enable = true;
|
||||
}
|
9
configs/printing.nix
Normal file
9
configs/printing.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [ pkgs.brlaser ];
|
||||
};
|
||||
};
|
||||
}
|
@ -11,47 +11,50 @@ let
|
||||
extraPkgs = pkgs: with unstable.pkgs; [
|
||||
gamescope
|
||||
mangohud
|
||||
ncurses6
|
||||
];
|
||||
};
|
||||
lutris = pkgs.lutris.override {
|
||||
extraPkgs = pkgs: with unstable.pkgs; [
|
||||
gamescope
|
||||
mangohud
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ <home-manager/nixos> ];
|
||||
|
||||
home-manager.users.alex = { pkgs, ... }: {
|
||||
home = {
|
||||
packages = with unstable.pkgs; [
|
||||
brave
|
||||
chromium
|
||||
# bitwarden
|
||||
# cura
|
||||
czkawka
|
||||
discord
|
||||
# etcher
|
||||
firefox
|
||||
# font-manager
|
||||
# freecad
|
||||
# homebank
|
||||
insomnia
|
||||
# kdenlive
|
||||
libreoffice
|
||||
lutris
|
||||
meld
|
||||
# obs-studio
|
||||
pinta
|
||||
# prusa-slicer
|
||||
# rpi-imager
|
||||
signal-desktop
|
||||
steam
|
||||
solaar
|
||||
spotify
|
||||
# teams
|
||||
virtmanager
|
||||
vulkan-tools
|
||||
wine
|
||||
winetricks
|
||||
];
|
||||
};
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
package = unstable.pkgs.steam;
|
||||
};
|
||||
|
||||
environment.systemPackages = with unstable.pkgs; [
|
||||
brave
|
||||
catfish
|
||||
chromium
|
||||
czkawka # fslint before
|
||||
discord
|
||||
espeak-ng
|
||||
firefox
|
||||
handbrake
|
||||
insomnia
|
||||
libreoffice
|
||||
librewolf
|
||||
lutris
|
||||
meld
|
||||
nextcloud-client
|
||||
pinta
|
||||
signal-desktop
|
||||
solaar
|
||||
remmina
|
||||
spotify
|
||||
tor-browser-bundle-bin
|
||||
virtmanager
|
||||
vulkan-tools
|
||||
wine
|
||||
winetricks
|
||||
|
||||
];
|
||||
}
|
||||
|
@ -28,19 +28,6 @@ in
|
||||
vscode = {
|
||||
enable = true;
|
||||
package = unstable.pkgs.vscode;
|
||||
# extensions = with unstable.pkgs.vscode-extensions; [
|
||||
# bbenoist.nix
|
||||
# eamodio.gitlens
|
||||
# editorconfig.editorconfig
|
||||
# ms-azuretools.vscode-docker
|
||||
# # ms-vsliveshare.vsliveshare
|
||||
# # ms-vscode.cpptools
|
||||
# mskelton.one-dark-theme
|
||||
# ms-kubernetes-tools.vscode-kubernetes-tools
|
||||
# ryu1kn.partial-diff
|
||||
# jnoortheen.nix-ide
|
||||
# brettm12345.nixfmt-vscode
|
||||
# ];
|
||||
};
|
||||
|
||||
|
||||
|
@ -94,19 +94,9 @@ in
|
||||
forwardAgent = true;
|
||||
|
||||
matchBlocks."szczepan.ski" = { hostname = "207.180.220.97"; };
|
||||
|
||||
matchBlocks."nixos-vm" = {
|
||||
hostname = "192.168.122.222";
|
||||
remoteForwards = [{
|
||||
bind.address = "/run/user/1000/gnupg/S.gpg-agent";
|
||||
host.address = "/run/user/1000/gnupg/S.gpg-agent";
|
||||
}];
|
||||
};
|
||||
|
||||
matchBlocks."mini" = { hostname = "192.168.0.101"; };
|
||||
|
||||
matchBlocks."mini" = { hostname = "10.100.0.3"; };
|
||||
matchBlocks."thinkpad" = { hostname = "10.100.0.8"; };
|
||||
matchBlocks."pi" = { hostname = "192.168.1.143"; };
|
||||
|
||||
matchBlocks."router" = {
|
||||
hostname = "192.168.1.1";
|
||||
user = "root";
|
||||
|
Reference in New Issue
Block a user