remove overskride
This commit is contained in:
parent
3fd39b26ca
commit
b214d9e527
7 changed files with 27 additions and 90 deletions
|
@ -27,10 +27,6 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
impermanence = {
|
||||
url = "github:nix-community/impermanence";
|
||||
};
|
||||
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote/v0.4.1";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -54,8 +54,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
home-manager.users.${conf.username}.home.packages = [ pkgs.overskride ];
|
||||
|
||||
services.blueman.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,7 +7,6 @@ in {
|
|||
./fonts
|
||||
./games
|
||||
./home
|
||||
./impermanence
|
||||
./layout
|
||||
./networking
|
||||
./niri
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf mkMerge;
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) conf;
|
||||
mkXwlWrapper = import ../niri/xwl-wrapper.nix;
|
||||
holo-script = pkgs.writeShellApplication {
|
||||
|
@ -20,43 +20,33 @@
|
|||
app = "${pkgs.steam}/bin/steam";
|
||||
name = "Steam Wrapped";
|
||||
};
|
||||
in mkIf conf.games.enable (mkMerge [
|
||||
(mkIf conf.impermanence.enable {
|
||||
environment.persistence."/persist".users.${conf.username}= {
|
||||
directories = [
|
||||
"Games"
|
||||
".steam"
|
||||
".local/share/PrismLauncher"
|
||||
];
|
||||
};
|
||||
}) {
|
||||
programs.steam.enable = true;
|
||||
programs.gamescope.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
in mkIf conf.games.enable {
|
||||
programs.steam.enable = true;
|
||||
programs.gamescope.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
environment.sessionVariables = {
|
||||
MANGOHUD_CONFIGFILE = "$HOME/.config/MangoHud/MangoHud.conf";
|
||||
MANGOHUD_CONFIG = "read_cfg";
|
||||
};
|
||||
environment.sessionVariables = {
|
||||
MANGOHUD_CONFIGFILE = "$HOME/.config/MangoHud/MangoHud.conf";
|
||||
MANGOHUD_CONFIG = "read_cfg";
|
||||
};
|
||||
|
||||
home-manager.users.${conf.username} = {
|
||||
home.packages = [
|
||||
pkgs.prismlauncher
|
||||
pkgs.heroic
|
||||
pkgs.itch
|
||||
holo
|
||||
steam-wrapped
|
||||
];
|
||||
home-manager.users.${conf.username} = {
|
||||
home.packages = [
|
||||
pkgs.prismlauncher
|
||||
pkgs.heroic
|
||||
pkgs.itch
|
||||
holo
|
||||
steam-wrapped
|
||||
];
|
||||
|
||||
programs.mangohud = {
|
||||
enable = true;
|
||||
settings = {
|
||||
gamemode = true;
|
||||
refresh_rate = true;
|
||||
fsr = true;
|
||||
resolution = true;
|
||||
};
|
||||
programs.mangohud = {
|
||||
enable = true;
|
||||
settings = {
|
||||
gamemode = true;
|
||||
refresh_rate = true;
|
||||
fsr = true;
|
||||
resolution = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
])
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
{ lib, config, ... }: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) conf;
|
||||
in mkIf conf.impermanence.enable {
|
||||
environment.persistence."/persist" = {
|
||||
enable = true;
|
||||
directories = [
|
||||
"/var/log"
|
||||
"/var/lib/bluetooth"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/iwd"
|
||||
"/etc/secureboot"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
"/etc/passwd"
|
||||
"/etc/shadow"
|
||||
];
|
||||
|
||||
users.${conf.username}= {
|
||||
directories = [
|
||||
"Documents"
|
||||
"Pictures"
|
||||
"Videos"
|
||||
"code"
|
||||
{ directory = ".local/share/keyrings"; mode = "0700"; }
|
||||
".local/share/direnv"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
boot.initrd = {
|
||||
enable = true;
|
||||
supportedFilesystems = [ "btrfs" ];
|
||||
|
||||
systemd.services.restore-boot = {
|
||||
description = "Rollback btrfs rootfs";
|
||||
WantedBy = [ "initrd.target" ];
|
||||
requires = [
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -9,7 +9,6 @@ in {
|
|||
vm.enable = mkEnableOption "Enable VM related configuration.";
|
||||
containers.enable = mkEnableOption "Enable container support.";
|
||||
games.enable = mkEnableOption "Enable games.";
|
||||
impermanence.enable = mkEnableOption "Use impermanence module.";
|
||||
secureboot.enable = mkEnableOption "Enable secure boot utilities (manual key-enrolling required).";
|
||||
extraLayout.enable = mkEnableOption "Enable additional custom layout.";
|
||||
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
{ nixpkgs, lix, home-manager, nixos-hardware, niri, impermanence, lanzaboote, ... }@inputs: let
|
||||
{ nixpkgs, lix, home-manager, nixos-hardware, niri, lanzaboote, ... }@inputs: let
|
||||
modules = [
|
||||
./modules
|
||||
./options.nix
|
||||
niri.nixosModules.niri
|
||||
home-manager.nixosModules.home-manager
|
||||
lix.nixosModules.default
|
||||
impermanence.nixosModules.impermanence
|
||||
lanzaboote.nixosModules.lanzaboote
|
||||
];
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue