From 25fed05d9fd8211d74b81287ff65b14a8d162c5a Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 1 Jul 2023 16:50:04 +0900 Subject: [PATCH] Remove unneeded files --- home-manager.nix | 39 --------------------------------------- secureboot.nix | 48 ------------------------------------------------ 2 files changed, 87 deletions(-) delete mode 100644 home-manager.nix delete mode 100644 secureboot.nix diff --git a/home-manager.nix b/home-manager.nix deleted file mode 100644 index b5b935ae..00000000 --- a/home-manager.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ config, pkgs, ... }: { -# Home-Manager Manual -# https://nix-community.github.io/home-manager/index.html - -# Home-Manager Options Search -# https://mipmip.github.io/home-manager-option-search/ - - home-manager.users.albert = { - home.stateVersion = "23.05"; - # User Home-Manager config location - programs.git = { - enable = true; - userName = "albert"; - userEmail = "albert@sysctl.io"; - extraConfig = { - credential.helper = "cache --timeout=25920000"; - }; - }; - - # dconf settings: - # https://github.com/gvolpe/dconf2nix - imports = [ ./dconf.nix ]; - - - }; - - home-manager.users.root = { - home.stateVersion = "23.05"; - # User Home-Manager config location - programs.git = { - enable = true; - userName = "albert"; - userEmail = "albert@sysctl.io"; - extraConfig = { - credential.helper = "cache --timeout=25920000"; - }; - }; - }; -} diff --git a/secureboot.nix b/secureboot.nix deleted file mode 100644 index f540c49e..00000000 --- a/secureboot.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ - description = "A SecureBoot-enabled NixOS configurations"; - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - - lanzaboote = { - url = "github:nix-community/lanzaboote"; - - # Optional but recommended to limit the size of your system closure. - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - - outputs = { self, nixpkgs, lanzaboote, ...}: { - nixosConfigurations = { - yourHost = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - - modules = [ - # This is not a complete NixOS configuration and you need to reference - # your normal configuration here. - - lanzaboote.nixosModules.lanzaboote - - ({ pkgs, lib, ... }: { - - environment.systemPackages = [ - # For debugging and troubleshooting Secure Boot. - pkgs.sbctl - ]; - - # Lanzaboote currently replaces the systemd-boot module. - # This setting is usually set to true in configuration.nix - # generated at installation time. So we force it to false - # for now. - boot.loader.systemd-boot.enable = lib.mkForce false; - - boot.lanzaboote = { - enable = true; - pkiBundle = "/etc/secureboot"; - }; - }) - ]; - }; - }; - }; -} \ No newline at end of file