Czyszczenie repo + keepass/nextcloud
This commit is contained in:
parent
2ac7a5de52
commit
9ec7c2631d
15 changed files with 7 additions and 152 deletions
10
base.nix
10
base.nix
|
|
@ -5,11 +5,15 @@
|
||||||
|
|
||||||
# paczki systemowe
|
# paczki systemowe
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim
|
file
|
||||||
|
tree
|
||||||
|
wget
|
||||||
git
|
git
|
||||||
openssh
|
openssh
|
||||||
wget
|
neovim
|
||||||
tree
|
keepassxc
|
||||||
|
nextcloud-client
|
||||||
|
tmux
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
{
|
|
||||||
description = "Modular NixOS config for gaming PC + office laptop";
|
|
||||||
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, ... }:
|
|
||||||
let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
lib = nixpkgs.lib;
|
|
||||||
in {
|
|
||||||
nixosConfigurations = {
|
|
||||||
gaming-amd = lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
./hosts/gaming-amd/configuration.nix
|
|
||||||
./modules/common/base.nix
|
|
||||||
./modules/common/networking.nix
|
|
||||||
./modules/common/users.nix
|
|
||||||
./modules/common/locale.nix
|
|
||||||
./modules/desktop/gaming.nix
|
|
||||||
./modules/services.steam.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
laptop-office = lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
./hosts/laptop-office/configuration.nix
|
|
||||||
./modules/common/base.nix
|
|
||||||
./modules/common/networking.nix
|
|
||||||
./modules/common/users.nix
|
|
||||||
./modules/common/locale.nix
|
|
||||||
./modules/desktop/office.nix
|
|
||||||
./modules/services/printing.nix
|
|
||||||
./modules/services/bluetooth.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
homeConfigurations = {
|
|
||||||
gamer = home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
./home/gamer/home.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
office = home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
./home/office/home.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
home.username = "gamer";
|
|
||||||
home.homeDirectory = "/home/gamer";
|
|
||||||
|
|
||||||
programs.git.enable = true;
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
discord obs-studio protonup-qt
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
home.username = "office";
|
|
||||||
home.homeDirectory = "/home/office";
|
|
||||||
|
|
||||||
programs.git.enable = true;
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
libreoffice nextcloud-client zoom
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
imports = [ ./hardware-configuration.nix ];
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
imports = [ ./hardware-configuration.nix ];
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
{ pkgs, ... }: {
|
|
||||||
environment.systemPackages = with pkgs; [ vim git ];
|
|
||||||
services.openssh.enable = true;
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
i18n.defaultLocale = "pl_PL.UTF-8";
|
|
||||||
time.timeZone = "Europe/Warsaw";
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
}
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
users.users.gamer = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [ "wheel" "networkmanager" ];
|
|
||||||
};
|
|
||||||
users.users.office = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [ "wheel" "networkmanager" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
services.xserver.enable = true;
|
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
|
||||||
|
|
||||||
hardware.opengl = {
|
|
||||||
enable = true;
|
|
||||||
driSupport = true;
|
|
||||||
driSupport32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
mangohud goverlay lutris vkBasalt
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{ pkgs, ... }: {
|
|
||||||
services.xserver.enable = true;
|
|
||||||
services.xserver.desktopManager.plasma6.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
libreoffice thunderbird okular
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
services.blueman.enable = true;
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
services.printing.enable = true;
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{ pkgs, ... }: {
|
|
||||||
programs.steam = {
|
|
||||||
enable = true;
|
|
||||||
remotePlay.openFirewall = true;
|
|
||||||
dedicatedServer.openFirewall = true;
|
|
||||||
};
|
|
||||||
environment.systemPackages = with pkgs; [ steam-run ];
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue