This commit is contained in:
emily 2024-02-28 22:43:20 +01:00
parent 66f3a19d26
commit f05fcc34b8
Signed by: emily
GPG key ID: F6F4C66207FCF995
10 changed files with 55 additions and 19 deletions

View file

@ -2,10 +2,25 @@
## First deployment
### remote hosts
```console
$ nix run github:nix-community/nixos-anywhere -- --flake ".#<configuration>" root@<target-host>
```
### desktops
```console
$ nix --extra-experimental-features nix-command run github:nix-community/nixos-anywhere -- --flake "git+https://git.bsd.gay/snaki/nixfiles.git#<configuration>" --no-reboot --build-on-target root@127.0.0.1
$ nixos-enter
$ passwd <local-user>
reboot
$ git clone https://git.bsd.gay/snaki/nixfiles.git
$ colmena apply-local --sudo --node <node>
```
## Deploy changes on ...
### all hosts

View file

@ -24,6 +24,7 @@
htop
restic
] ++ lib.optionals config.kyouma.machine-type.graphical [
colmena
thunderbird
obsidian
krita
@ -40,10 +41,11 @@
slurp
grim
gnome.simple-scan
gnome.nautilus
cinnamon.nemo
imagemagick_light
#ubuntu_font_family
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
jetbrains-mono
font-awesome
];

View file

@ -9,6 +9,8 @@
deployment.allowLocalDeployment = true;
hardware.opengl.enable = true;
boot.plymouth.enable = true;
services.geoclue2.enable = true;
@ -25,7 +27,11 @@
MOZ_ENABLE_WAYLAND = "1";
CLUTTER_BACKEND = "wayland";
};
xdg.portal.wlr.enable = true;
xdg.portal = {
enable = true;
wlr.enable = true;
configPackages = [ pkgs.xdg-desktop-portal-hyprland ];
};
stylix= {
image = pkgs.fetchurl {
@ -42,7 +48,7 @@
serif = config.stylix.fonts.sansSerif;
monospace = {
package = pkgs.jetbrains-mono;
name = "JetBrainsMono-Regular";
name = "JetBrains Mono Regular";
};
sizes.terminal = 11;
};
@ -53,6 +59,7 @@
};
targets = {
console.enable = false;
gnome.enable = true;
fish.enable = false;
};
};
@ -398,6 +405,8 @@
};
programs.imv.enable = true;
programs.swaylock.enable = true;
programs.wpaperd = {
enable = true;
@ -465,11 +474,11 @@
cpu = {
format = " {usage:02}";
interval = 2;
on-click = "kitty -e htop";
on-click = "${pkgs.kitty}/bin/kitty -e ${pkgs.htop}/bin/htop";
};
memory = {
format = " {used:0.2f}";
on-click = "kitty -e htop";
on-click = "${pkgs.kitty}/bin/kitty -e ${pkgs.htop}/bin/htop";
};
temperature = {
hwmon-path = "/sys/class/hwmon/hwmon1/temp1_input";
@ -488,9 +497,9 @@
warning = 30;
critical = 15;
};
format = "\uf1e6";
format = "";
format-discharging = "{icon} {capacity: >3}% {power:0.1f}W";
format-charging = "\uf1e6 {capacity: >3}% {power:0.1f}W";
format-charging = " {capacity: >3}% {power:0.1f}W";
interval = 3;
format-icons = ["" "" "" "" ""];
};
@ -499,7 +508,7 @@
format-wifi = " {essid}";
format-ethernet = " Wired";
format-disconnected = " Disconnected";
on-click = "${networkmanagerapplet}/bin/nm-connection-editor";
on-click = "${pkgs.networkmanagerapplet}/bin/nm-connection-editor";
};
pulseaudio = {
scroll-step = 5;
@ -623,6 +632,15 @@
services.syncthing = {
enable = true;
tray.enable = true;
tray.command = "syncthingtray --wait";
};
services.udiskie = {
enable = true;
automount = false;
};
systemd.user.targets.tray.Unit = {
BindsTo = "waybar.service";
After = "waybar.service";
};
};
}

View file

@ -5,7 +5,6 @@ configuration {
/*****----- Global Properties -----*****/
@import "shared/colors.rasi"
@import "shared/fonts.rasi"
/*
USE_ICON=YES

View file

@ -14,7 +14,6 @@ configuration {
/*****----- Global Properties -----*****/
@import "shared/colors.rasi"
@import "shared/fonts.rasi"
/*****----- Main Window -----*****/
window {

View file

@ -5,7 +5,6 @@ configuration {
/*****----- Global Properties -----*****/
@import "shared/colors.rasi"
@import "shared/fonts.rasi"
/*****----- Main Window -----*****/

View file

@ -14,7 +14,6 @@ configuration {
/*****----- Global Properties -----*****/
@import "shared/colors.rasi"
@import "shared/fonts.rasi"
/*****----- Main Window -----*****/
window {

View file

@ -9,7 +9,6 @@ configuration {
/*****----- Global Properties -----*****/
@import "shared/colors.rasi"
@import "shared/fonts.rasi"
/*
USE_ICON=YES

View file

@ -1,3 +0,0 @@
{
font: "Iosevka Nerd Font 10";
}

View file

@ -4,7 +4,7 @@
];
home-manager.users.emily.programs.nixvim = {
enable = true;
extraPlugins = [ pkgs.vimPlugins.molokai ];
extraPlugins = [ pkgs.vimPlugins.molokai vimPlugins.vim-airline-themes ];
colorscheme = "molokai";
vimAlias = true;
highlightOverride.Normal = {
@ -164,7 +164,15 @@
servers = {
bashls.enable = true;
lua-ls.enable = true;
nixd.enable = true;
nixd = {
enable = true;
settings = {
eval.depth = 5;
eval.workers = 6;
formatting.command = "nixpkgs-fmt";
options.enable = true;
};
};
ruff-lsp.enable = true;
};
};
@ -190,13 +198,14 @@
nixGrammars = true;
indent = true;
};
plugins.airline.enable = true;
plugins.cmp-buffer.enable = true;
plugins.cmp-emoji.enable = true;
plugins.cmp-nvim-lsp.enable = true;
plugins.cmp-path.enable = true;
plugins.cmp_luasnip.enable = true;
plugins.luasnip.enable = true;
plugins.lightline.enable = true;
plugins.nvim-autopairs.enable = true;
plugins.rainbow-delimiters.enable = true;
plugins.rustaceanvim.enable = true;
plugins.treesitter-context.enable = true;