updating config
This commit is contained in:
parent
264e4295aa
commit
270b92d0c2
8 changed files with 339 additions and 46 deletions
|
@ -48,7 +48,7 @@
|
|||
enable = true;
|
||||
windowManager.awesome = {
|
||||
enable = true;
|
||||
package = pkgs.myAwesome;
|
||||
# package = pkgs.myAwesome;
|
||||
};
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
|
@ -166,6 +166,7 @@
|
|||
sddm-kcm
|
||||
ydotool
|
||||
bottles
|
||||
podman-compose
|
||||
exa
|
||||
imv
|
||||
feh
|
||||
|
@ -226,12 +227,16 @@
|
|||
gimp
|
||||
powertop
|
||||
quickemu
|
||||
OVMFFull
|
||||
element-desktop-wayland
|
||||
# hyprland
|
||||
blender
|
||||
neofetch
|
||||
ethminer
|
||||
lutris
|
||||
protonup
|
||||
# Dev tools
|
||||
android-tools
|
||||
nix-index
|
||||
meson
|
||||
ninja
|
||||
|
@ -266,11 +271,11 @@
|
|||
{
|
||||
myAwesome = super.awesome.overrideAttrs (old: rec {
|
||||
pname = "myAwesome";
|
||||
version = "git-20220508-c539e0e";
|
||||
version = "git-20220614-3a54221";
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "awesomeWM";
|
||||
repo = "awesome";
|
||||
rev = "c539e0e4350a42f813952fc28dd8490f42d934b3";
|
||||
rev = "3a542219f3bf129546ae79eb20e384ea28fa9798";
|
||||
sha256 = "EDAL7NnLF2BiVI8DAlEciiZtDmwXOzCPypGTrlN/OoQ=";
|
||||
};
|
||||
});
|
||||
|
@ -292,6 +297,32 @@
|
|||
enable = true;
|
||||
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
|
||||
};
|
||||
services.samba-wsdd.enable = true;
|
||||
services.samba = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
workgroup = WORKGROUP
|
||||
server string = smbnix
|
||||
netbios name = smbnix
|
||||
security = user
|
||||
#use sendfile = yes
|
||||
#max protocol = smb2
|
||||
# note: localhost is the ipv6 localhost ::1
|
||||
hosts allow = 192.168.0. 127.0.0.1 localhost
|
||||
hosts deny = 0.0.0.0/0
|
||||
guest account = nobody
|
||||
map to guest = bad user
|
||||
'';
|
||||
shares = {
|
||||
public = {
|
||||
path = "/home/chris/Public";
|
||||
"read only" = false;
|
||||
browsable = true;
|
||||
"guest ok" = true;
|
||||
comment = "Share";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
networking.useDHCP = false;
|
||||
networking.interfaces.wlp170s0.useDHCP = true;
|
||||
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
|
@ -55,7 +58,7 @@
|
|||
enable = true;
|
||||
windowManager.awesome = {
|
||||
enable = true;
|
||||
package = pkgs.myAwesome;
|
||||
# package = pkgs.myAwesome;
|
||||
};
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
|
@ -186,6 +189,7 @@
|
|||
sddm-kcm
|
||||
ydotool
|
||||
bottles
|
||||
podman-compose
|
||||
exa
|
||||
imv
|
||||
feh
|
||||
|
@ -246,6 +250,9 @@
|
|||
gimp
|
||||
powertop
|
||||
quickemu
|
||||
OVMFFull
|
||||
element-desktop-wayland
|
||||
# hyprland
|
||||
neofetch
|
||||
afetch
|
||||
yafetch
|
||||
|
@ -255,6 +262,7 @@
|
|||
fet-sh
|
||||
macchina
|
||||
# Dev tools
|
||||
android-tools
|
||||
nix-index
|
||||
meson
|
||||
ninja
|
||||
|
@ -289,11 +297,11 @@
|
|||
{
|
||||
myAwesome = super.awesome.overrideAttrs (old: rec {
|
||||
pname = "myAwesome";
|
||||
version = "git-20220508-c539e0e";
|
||||
version = "git-20220614-3a54221";
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "awesomeWM";
|
||||
repo = "awesome";
|
||||
rev = "c539e0e4350a42f813952fc28dd8490f42d934b3";
|
||||
rev = "3a542219f3bf129546ae79eb20e384ea28fa9798";
|
||||
sha256 = "EDAL7NnLF2BiVI8DAlEciiZtDmwXOzCPypGTrlN/OoQ=";
|
||||
};
|
||||
});
|
||||
|
@ -315,6 +323,32 @@
|
|||
enable = true;
|
||||
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
|
||||
};
|
||||
services.samba-wsdd.enable = true;
|
||||
services.samba = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
workgroup = WORKGROUP
|
||||
server string = smbnix
|
||||
netbios name = smbnix
|
||||
security = user
|
||||
#use sendfile = yes
|
||||
#max protocol = smb2
|
||||
# note: localhost is the ipv6 localhost ::1
|
||||
hosts allow = 192.168.0. 127.0.0.1 localhost
|
||||
hosts deny = 0.0.0.0/0
|
||||
guest account = nobody
|
||||
map to guest = bad user
|
||||
'';
|
||||
shares = {
|
||||
public = {
|
||||
path = "/home/chris/Public";
|
||||
"read only" = false;
|
||||
browsable = true;
|
||||
"guest ok" = true;
|
||||
comment = "Share";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue