From 9ec7c2631de2d294702d7359ba5fc758bc44fb3b Mon Sep 17 00:00:00 2001 From: Sasza Stanczew Date: Mon, 16 Feb 2026 13:06:58 +0100 Subject: [PATCH] Czyszczenie repo + keepass/nextcloud --- base.nix | 10 ++- copilot/flake.nix | 61 ------------------- copilot/home/gamer/home.nix | 11 ---- copilot/home/office/home.nix | 11 ---- copilot/hosts/gaming-amd/configuration.nix | 3 - copilot/hosts/laptop-office/configuration.nix | 3 - copilot/modules/common/base.nix | 4 -- copilot/modules/common/locale.nix | 4 -- copilot/modules/common/networking.nix | 3 - copilot/modules/common/users.nix | 10 --- copilot/modules/desktop/gaming.nix | 16 ----- copilot/modules/desktop/office.nix | 8 --- copilot/modules/services/bluetooth.nix | 4 -- copilot/modules/services/printing.nix | 3 - copilot/modules/services/steam.nix | 8 --- 15 files changed, 7 insertions(+), 152 deletions(-) delete mode 100644 copilot/flake.nix delete mode 100644 copilot/home/gamer/home.nix delete mode 100644 copilot/home/office/home.nix delete mode 100644 copilot/hosts/gaming-amd/configuration.nix delete mode 100644 copilot/hosts/laptop-office/configuration.nix delete mode 100644 copilot/modules/common/base.nix delete mode 100644 copilot/modules/common/locale.nix delete mode 100644 copilot/modules/common/networking.nix delete mode 100644 copilot/modules/common/users.nix delete mode 100644 copilot/modules/desktop/gaming.nix delete mode 100644 copilot/modules/desktop/office.nix delete mode 100644 copilot/modules/services/bluetooth.nix delete mode 100644 copilot/modules/services/printing.nix delete mode 100644 copilot/modules/services/steam.nix diff --git a/base.nix b/base.nix index 613b27d..2f04f1d 100644 --- a/base.nix +++ b/base.nix @@ -5,11 +5,15 @@ # paczki systemowe environment.systemPackages = with pkgs; [ - neovim + file + tree + wget git openssh - wget - tree + neovim + keepassxc + nextcloud-client + tmux ]; nixpkgs.config.allowUnfree = true; diff --git a/copilot/flake.nix b/copilot/flake.nix deleted file mode 100644 index 3e76f9c..0000000 --- a/copilot/flake.nix +++ /dev/null @@ -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 - ]; - }; - }; - }; -} - diff --git a/copilot/home/gamer/home.nix b/copilot/home/gamer/home.nix deleted file mode 100644 index 86ab23f..0000000 --- a/copilot/home/gamer/home.nix +++ /dev/null @@ -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 - ]; -} diff --git a/copilot/home/office/home.nix b/copilot/home/office/home.nix deleted file mode 100644 index cce0152..0000000 --- a/copilot/home/office/home.nix +++ /dev/null @@ -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 - ]; -} diff --git a/copilot/hosts/gaming-amd/configuration.nix b/copilot/hosts/gaming-amd/configuration.nix deleted file mode 100644 index 0089df0..0000000 --- a/copilot/hosts/gaming-amd/configuration.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ config, pkgs, ... }: { - imports = [ ./hardware-configuration.nix ]; -} diff --git a/copilot/hosts/laptop-office/configuration.nix b/copilot/hosts/laptop-office/configuration.nix deleted file mode 100644 index 0089df0..0000000 --- a/copilot/hosts/laptop-office/configuration.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ config, pkgs, ... }: { - imports = [ ./hardware-configuration.nix ]; -} diff --git a/copilot/modules/common/base.nix b/copilot/modules/common/base.nix deleted file mode 100644 index 0a6ec1e..0000000 --- a/copilot/modules/common/base.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ pkgs, ... }: { - environment.systemPackages = with pkgs; [ vim git ]; - services.openssh.enable = true; -} diff --git a/copilot/modules/common/locale.nix b/copilot/modules/common/locale.nix deleted file mode 100644 index 1abc0e2..0000000 --- a/copilot/modules/common/locale.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: { - i18n.defaultLocale = "pl_PL.UTF-8"; - time.timeZone = "Europe/Warsaw"; -} diff --git a/copilot/modules/common/networking.nix b/copilot/modules/common/networking.nix deleted file mode 100644 index 45771c5..0000000 --- a/copilot/modules/common/networking.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ ... }: { - networking.networkmanager.enable = true; -} diff --git a/copilot/modules/common/users.nix b/copilot/modules/common/users.nix deleted file mode 100644 index cf66a99..0000000 --- a/copilot/modules/common/users.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ ... }: { - users.users.gamer = { - isNormalUser = true; - extraGroups = [ "wheel" "networkmanager" ]; - }; - users.users.office = { - isNormalUser = true; - extraGroups = [ "wheel" "networkmanager" ]; - }; -} diff --git a/copilot/modules/desktop/gaming.nix b/copilot/modules/desktop/gaming.nix deleted file mode 100644 index 8850f99..0000000 --- a/copilot/modules/desktop/gaming.nix +++ /dev/null @@ -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 - ]; -} diff --git a/copilot/modules/desktop/office.nix b/copilot/modules/desktop/office.nix deleted file mode 100644 index 21f7ea5..0000000 --- a/copilot/modules/desktop/office.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs, ... }: { - services.xserver.enable = true; - services.xserver.desktopManager.plasma6.enable = true; - - environment.systemPackages = with pkgs; [ - libreoffice thunderbird okular - ]; -} diff --git a/copilot/modules/services/bluetooth.nix b/copilot/modules/services/bluetooth.nix deleted file mode 100644 index f3d21b1..0000000 --- a/copilot/modules/services/bluetooth.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: { - hardware.bluetooth.enable = true; - services.blueman.enable = true; -} diff --git a/copilot/modules/services/printing.nix b/copilot/modules/services/printing.nix deleted file mode 100644 index 35017e4..0000000 --- a/copilot/modules/services/printing.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ ... }: { - services.printing.enable = true; -} diff --git a/copilot/modules/services/steam.nix b/copilot/modules/services/steam.nix deleted file mode 100644 index 68ef5bd..0000000 --- a/copilot/modules/services/steam.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs, ... }: { - programs.steam = { - enable = true; - remotePlay.openFirewall = true; - dedicatedServer.openFirewall = true; - }; - environment.systemPackages = with pkgs; [ steam-run ]; -}