Merge branch 'master' of git.2li.ch:Nebucatnetzer/nixos

This commit is contained in:
Andreas Zweili 2021-11-24 20:40:37 +01:00
commit e62f7e49da
8 changed files with 17 additions and 7 deletions

View File

@ -11,6 +11,7 @@
htop
killall
ncdu
nixpkgs-fmt
ranger
tree
vim

View File

@ -29,6 +29,7 @@
enableRedistributableFirmware = true;
};
programs.mosh.enable = true;
services = {
openssh.enable = true;
};
@ -59,6 +60,7 @@
dates = "weekly";
options = "--delete-older-than 7d";
};
nix.autoOptimiseStore = true;
environment.shellAliases = {
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
@ -76,7 +78,7 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.05"; # Did you read the comment?
system.stateVersion = import ../version.nix;
}

View File

@ -6,7 +6,7 @@
{
imports = [
./common.nix
./common.nix
];
networking = {
@ -46,19 +46,22 @@
hardware.steam-hardware.enable = true;
# enable lockscreen
programs.xss-lock = {
enable = true;
lockerCommand = "i3lock -c 000000";
};
programs.droidcam.enable = true;
environment.variables = {
ZWEILI_ENVIRONMENT = "desktop";
};
environment.systemPackages = with pkgs; [
arc-theme
calibre
celluloid
digikam
evince
firefox
gimp
@ -70,7 +73,10 @@
networkmanager-openvpn
nitrogen
pavucontrol
rapid-photo-downloader
remmina
rofi
shotwell
source-code-pro
terminator
];

View File

@ -14,7 +14,7 @@
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.05";
home.stateVersion = import ../version.nix;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

View File

@ -1,4 +1,4 @@
{config, pkgs, ...}:
{ config, pkgs, ... }:
{
imports = [
./common.nix

View File

@ -1,4 +1,4 @@
{config, pkgs, ...}:
{ config, pkgs, ... }:
{
imports = [
./common.nix

View File

@ -1,4 +1,4 @@
{config, pkgs, ...}:
{ config, pkgs, ... }:
{
imports = [
./common.nix

1
version.nix Normal file
View File

@ -0,0 +1 @@
"21.05"