configure sway
This commit is contained in:
parent
61ecbd9721
commit
f9138672e8
17 changed files with 322 additions and 25 deletions
|
|
@ -2,11 +2,15 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./default.nix
|
||||
./git.nix
|
||||
./greetd.nix
|
||||
./home-manager.nix
|
||||
./lix.nix
|
||||
./nix.nix
|
||||
./polkit.nix
|
||||
./qemuGuest.nix
|
||||
./security.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
15
programs/boot.nix
Normal file
15
programs/boot.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
loader = {
|
||||
timeout = 3;
|
||||
efi.canTouchEfiVariables = true;
|
||||
limine = {
|
||||
enable = true;
|
||||
style.wallpapers = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,8 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.git.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
openssh
|
||||
git
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
{ home-manager, ... }:
|
||||
|
||||
{
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager = {
|
||||
backupFileExtension = "backup";
|
||||
useUserPackages = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
8
programs/nix.nix
Normal file
8
programs/nix.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
}
|
||||
17
programs/qemuGuest.nix
Normal file
17
programs/qemuGuest.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkEnableOption;
|
||||
cfg = config.modules.vmGuest;
|
||||
in
|
||||
|
||||
{
|
||||
options.modules.vmGuest.enable = mkEnableOption "Enable VM Guest addons";
|
||||
|
||||
config = {
|
||||
services = {
|
||||
qemuGuest.enable = cfg.enable;
|
||||
spice-vdagentd.enable = cfg.enable;
|
||||
};
|
||||
};
|
||||
}
|
||||
8
programs/security.nix
Normal file
8
programs/security.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
security = {
|
||||
sudo.enable = false;
|
||||
sudo-rs.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue