changes
This commit is contained in:
parent
7a1aca654d
commit
ff9f3aa198
5 changed files with 68 additions and 59 deletions
|
@ -14,7 +14,6 @@
|
|||
|
||||
# Unstable nixpkgs baby!
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
# Lix, a faster nix fork.
|
||||
lix-module = {
|
||||
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
printing.enable = true;
|
||||
};
|
||||
|
||||
meta = {
|
||||
users = ["vali"];
|
||||
# mainUser = "vali";
|
||||
};
|
||||
modules = {
|
||||
system = {
|
||||
hardware = {
|
||||
|
@ -43,6 +47,7 @@
|
|||
eza.enable = true;
|
||||
firefox.enable = true;
|
||||
spotify.enable = true;
|
||||
starship.enable = true;
|
||||
zellij.enable = true;
|
||||
terminals = {
|
||||
foot.enable = true;
|
||||
|
|
|
@ -71,7 +71,9 @@ in {
|
|||
sound = {
|
||||
enable = mkEnableOption "sound related programs and audio-dependent programs";
|
||||
};
|
||||
|
||||
impermanence = {
|
||||
enable = mkEnableOption "Enable Impermanence";
|
||||
};
|
||||
video = {
|
||||
enable = mkEnableOption "video drivers and programs that require a graphical user interface";
|
||||
nvidia = mkEnableOption "Nvidia graphics drivers";
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
.emacsWithPackages (epkgs:
|
||||
with epkgs; [
|
||||
vterm
|
||||
treesit-grammars.with-all-grammars
|
||||
]);
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkForce;
|
||||
inherit (lib) mkIf mkForce;
|
||||
inherit (builtins) map;
|
||||
|
||||
cfg = config.modules.system.impermanence;
|
||||
|
@ -12,6 +12,7 @@ in {
|
|||
imports = [
|
||||
inputs.impermanence.nixosModules.impermanence
|
||||
];
|
||||
config = mkIf cfg.enable {
|
||||
users = {
|
||||
mutableUsers = true;
|
||||
users = {
|
||||
|
@ -76,4 +77,5 @@ in {
|
|||
type = "ed25519";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue