Reformat code
This commit is contained in:
parent
7f29a1f336
commit
a46b9bc7ad
8 changed files with 20 additions and 19 deletions
|
@ -18,7 +18,7 @@
|
||||||
digga.inputs.deploy.follows = "deploy";
|
digga.inputs.deploy.follows = "deploy";
|
||||||
|
|
||||||
home.url = "github:nix-community/home-manager/master";
|
home.url = "github:nix-community/home-manager/master";
|
||||||
# home.url = "path:/home/mae/home-manager";
|
# home.url = "path:/home/mae/home-manager";
|
||||||
home.inputs.nixpkgs.follows = "latest";
|
home.inputs.nixpkgs.follows = "latest";
|
||||||
home.inputs.utils.follows = "flake-utils";
|
home.inputs.utils.follows = "flake-utils";
|
||||||
|
|
||||||
|
@ -40,12 +40,12 @@
|
||||||
naersk.inputs.nixpkgs.follows = "nixos";
|
naersk.inputs.nixpkgs.follows = "nixos";
|
||||||
|
|
||||||
peerix.url = "github:cid-chan/peerix";
|
peerix.url = "github:cid-chan/peerix";
|
||||||
# peerix.url = "github:MaeIsBad/peerix";
|
# peerix.url = "github:MaeIsBad/peerix";
|
||||||
peerix.inputs.nixpkgs.follows = "nixos";
|
peerix.inputs.nixpkgs.follows = "nixos";
|
||||||
|
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||||
fenix.url = "github:nix-community/fenix";
|
fenix.url = "github:nix-community/fenix";
|
||||||
# fenix.inputs.nixpkgs.follows = "nixos";
|
# fenix.inputs.nixpkgs.follows = "nixos";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|
|
@ -52,17 +52,18 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/bcache0";
|
{
|
||||||
|
device = "/dev/bcache0";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-label/BOOT";
|
{
|
||||||
|
device = "/dev/disk/by-label/BOOT";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-label/ssd-swap"; }
|
[{ device = "/dev/disk/by-label/ssd-swap"; }];
|
||||||
];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ in
|
||||||
environment.variables.EDITOR = "$EDITOR";
|
environment.variables.EDITOR = "$EDITOR";
|
||||||
|
|
||||||
services.logind.lidSwitch = "ignore";
|
services.logind.lidSwitch = "ignore";
|
||||||
services.logind.extraConfig = ''
|
services.logind.extraConfig = ''
|
||||||
# don’t shutdown when power button is short-pressed
|
# don’t shutdown when power button is short-pressed
|
||||||
HandlePowerKey=ignore
|
HandlePowerKey=ignore
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
minetest
|
minetest
|
||||||
mumble
|
mumble
|
||||||
polymc
|
polymc
|
||||||
(retroarch.override {cores = [libretro.snes9x]; })
|
(retroarch.override { cores = [ libretro.snes9x ]; })
|
||||||
olympus
|
olympus
|
||||||
godot
|
godot
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{config, pkgs, ...}:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
peerix_user = "peerix";
|
peerix_user = "peerix";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.groups.${peerix_user} = {};
|
users.groups.${peerix_user} = { };
|
||||||
users.users.${peerix_user} = {
|
users.users.${peerix_user} = {
|
||||||
group = peerix_user;
|
group = peerix_user;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
|
|
@ -6,7 +6,7 @@ let
|
||||||
tesco_sys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqryVRMbcei0pZTOP1wgTVzn452vgsUP7MrEb0LQ17s root@tesco";
|
tesco_sys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqryVRMbcei0pZTOP1wgTVzn452vgsUP7MrEb0LQ17s root@tesco";
|
||||||
mae_tesco = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN64wtGODBn2yygv1sOXnV8qbXImbOttMlhdTKEyQCoT mae@tesco";
|
mae_tesco = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN64wtGODBn2yygv1sOXnV8qbXImbOttMlhdTKEyQCoT mae@tesco";
|
||||||
|
|
||||||
systemKeys = [teapot_sys tesco_sys];
|
systemKeys = [ teapot_sys tesco_sys ];
|
||||||
allKeys = [ mae_teapot mae_tesco ] ++ systemKeys;
|
allKeys = [ mae_teapot mae_tesco ] ++ systemKeys;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "wheel" "video" "lp" "scanner" "adbusers" "render" "libvirtd" "podman" "docker" ];
|
extraGroups = [ "wheel" "video" "lp" "scanner" "adbusers" "render" "libvirtd" "podman" "docker" ];
|
||||||
};
|
};
|
||||||
home-manager.users.mae = {pkgs, ...}: {
|
home-manager.users.mae = { pkgs, ... }: {
|
||||||
imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ../profiles/mpv ../profiles/sway ];
|
imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ../profiles/mpv ../profiles/sway ];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
|
Loading…
Reference in a new issue